Package info includes the properties _filename and _dirname that gives the filename and directory of the package.json file.