MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.npm/registry.npmjs.org/read-pkg/.cache.json
{"_id":"read-pkg","_rev":"13-5a757bdf3a7dbb46f448351856d42077","name":"read-pkg","description":"Read a package.json file","dist-tags":{"latest":"4.0.1"},"versions":{"1.0.0":{"name":"read-pkg","version":"1.0.0","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"load-json-file":"^1.0.0","normalize-package-data":"^2.3.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1ed9e57e3048285289547ea375eb7a5adabed1c4","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","_id":"read-pkg@1.0.0","_shasum":"6199b5a0a9596f32eb83044e89400969587542de","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6199b5a0a9596f32eb83044e89400969587542de","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.1.0":{"name":"read-pkg","version":"1.1.0","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/read-pkg"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"load-json-file":"^1.0.0","normalize-package-data":"^2.3.2","path-type":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"9448d32b2ebcd65fc0547def3cfe5b28ef522e68","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg","_id":"read-pkg@1.1.0","_shasum":"f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"read-pkg","version":"2.0.0","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"load-json-file":"^2.0.0","normalize-package-data":"^2.3.2","path-type":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"c1664a2f42d1f1898b7648534576e6dcfa1f48c8","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","_id":"read-pkg@2.0.0","_shasum":"8ef1c0623c6a6db0dc6713c4bfac46332b2368f8","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8ef1c0623c6a6db0dc6713c4bfac46332b2368f8","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/read-pkg-2.0.0.tgz_1475052271222_0.4820629544556141"},"directories":{}},"3.0.0":{"name":"read-pkg","version":"3.0.0","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"load-json-file":"^4.0.0","normalize-package-data":"^2.3.2","path-type":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"7eb2f6b7b50618c28f1bf2db8b895a453552cd9c","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","_id":"read-pkg@3.0.0","_shasum":"9cbc686978fee65d16c00e2b19c237fcf6e38389","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9cbc686978fee65d16c00e2b19c237fcf6e38389","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-pkg-3.0.0.tgz_1509782852512_0.4451334576588124"},"directories":{}},"4.0.0":{"name":"read-pkg","version":"4.0.0","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"normalize-package-data":"^2.3.2","parse-json":"^4.0.0","util.promisify":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8f30e19a5359111660e65d428d571ec4340814ae","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","_id":"read-pkg@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-2avHM2nMA5tFOMEDkB+VgMHzfRlv9d5GNc3RMTxFoOyoRN50RnLz6oN6QPiTZRYbqrufJBa/9GzWEYas0uvZZw==","shasum":"ee3801906504d73af4c9630ab1cd0cea8232e5c2","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.0.tgz","fileCount":4,"unpackedSize":4155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMRMGCRA9TVsSAnZWagAAHtIQAIp1T/NY304OXGL7dkoK\nVTu4E0p9S7H+NytTph01izyA799Ya2Q2hl5+Zq+SoDhqyfbNBeMCrvDMtXWM\nRNP4rluFEGYTU0V/9JzCz8KbhuK11VAPzCjVlVOtcaQXhMsSL+MGU2dFKgxz\nvlmbZDt9W22ffO/uijUtuWILpnJmWjrrIFpiv685E9zH3WvOQTz+YCAQPxTR\nIQV5E2fMdHu0ecCt1BzojsRdHpIeIz8uJAzLvGmrbdnWWwA73OyQZCgdKanm\njUf+m1vtQU253ent/vSU5RikzmDyJR+1OW9XvLvxfwTxBtml2Gtbl3HtPZtV\nGq8MCRNsX5o4MyqUHaCim+3RR3Cj1NXCZDmS2DchbgP/sWOpdFToBocV4YMj\nyxSCjkxZcBRk+UYt9kdG88VzAeHXHDqkYr5+jWlsGtgCTqOakSr1uHvLb1HE\npWfXTQzQrpfw0UqhRonOEx393+zhkM4i0xqDB9i8gOkteVaUKbABYx6IehmS\nsmMwK+jtKBB9fIa+/72Gmer0QPjSk+w0bm8ygSz8D9vGb+GWWo4o/qq8B+DN\n9R+32Kt6o3CSFKfgO5w+bDPnS8w8fHajAyF6lqtY5r25vmXL+Z4up0tDQKGE\ny2v9balu4JV94Ihbl7meCVsz9z06fnAo1qm3dnSGQjFuRNHd9D8b9YpfVVBY\nubFk\r\n=tfth\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-pkg_4.0.0_1529942790299_0.382594879990501"}},"4.0.1":{"name":"read-pkg","version":"4.0.1","description":"Read a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"dependencies":{"normalize-package-data":"^2.3.2","parse-json":"^4.0.0","pify":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"03b601f9f47a8c9930bbbb46380264babe987ced","bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","_id":"read-pkg@4.0.1","_shasum":"963625378f3e1c4d48c85872b5a6ec7d5d093237","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"963625378f3e1c4d48c85872b5a6ec7d5d093237","tarball":"https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz","fileCount":4,"unpackedSize":4186},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-pkg_4.0.1_1529986259277_0.9099218668326017"}}},"readme":"# read-pkg [![Build Status](https://travis-ci.org/sindresorhus/read-pkg.svg?branch=master)](https://travis-ci.org/sindresorhus/read-pkg)\n\n> Read a package.json file\n\n\n## Why\n\n- [Gracefully handles filesystem issues](https://github.com/isaacs/node-graceful-fs)\n- [Throws more helpful JSON errors](https://github.com/sindresorhus/parse-json)\n- [Normalizes the data](https://github.com/npm/normalize-package-data#what-normalization-currently-entails)\n\n\n## Install\n\n```\n$ npm install read-pkg\n```\n\n\n## Usage\n\n```js\nconst readPkg = require('read-pkg');\n\n(async () => {\n\tconsole.log(await readPkg());\n\t//=> {name: 'read-pkg', ...}\n\n\tconsole.log(await readPkg({cwd: 'some-other-directory'});\n\t//=> {name: 'unicorn', ...}\n})();\n```\n\n\n## API\n\n### readPkg([options])\n\nReturns a `Promise` for the parsed JSON.\n\n### readPkg.sync([options])\n\nReturns the parsed JSON.\n\n#### options\n\nType: `Object`\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n##### normalize\n\nType: `boolean`<br>\nDefault: `true`\n\n[Normalize](https://github.com/npm/normalize-package-data#what-normalization-currently-entails) the package data.\n\n\n## Related\n\n- [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) - Read the closest package.json file\n- [write-pkg](https://github.com/sindresorhus/write-pkg) - Write a `package.json` file\n- [load-json-file](https://github.com/sindresorhus/load-json-file) - Read and parse a JSON file\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2018-06-26T04:10:59.370Z","created":"2015-09-02T08:47:51.680Z","1.0.0":"2015-09-02T08:47:51.680Z","1.1.0":"2015-09-05T09:51:50.133Z","2.0.0":"2016-09-28T08:44:31.441Z","3.0.0":"2017-11-04T08:07:32.640Z","4.0.0":"2018-06-25T16:06:30.381Z","4.0.1":"2018-06-26T04:10:59.370Z"},"homepage":"https://github.com/sindresorhus/read-pkg#readme","keywords":["json","read","parse","file","fs","graceful","load","pkg","package","normalize"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/read-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/read-pkg/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"nesterone":true,"huhgawz":true,"dr2009":true,"zhenguo.zhao":true,"kiinlam":true},"_attachments":{},"_etag":"W/\"600f6d138b82ea8c24d79c61bb9d7dec\"","_lastModified":"Tue, 26 Jun 2018 04:11:00 GMT","_cached":true}