nl_tokens: Reads the package . json data in a given path .
pl_tokens: function readPackageJson ( dir ) { const filePath = <mask> . join ( dir , "package.json" ) try { const text = fs . readFileSync ( filePath , "utf8" ) const data = JSON . parse ( text ) if ( typeof data === "object" && data !== null ) { data . filePath = filePath return data } } catch ( _err ) { // do nothing. } return null }