mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
{"name":"require-main-filename","description":"shim for require.main.filename() that works in as many environments as possible","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"require-main-filename","version":"2.0.0","description":"shim for require.main.filename() that works in as many environments as possible","main":"index.js","scripts":{"pretest":"standard","test":"tap --coverage test.js","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/yargs/require-main-filename.git"},"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/require-main-filename/issues"},"devDependencies":{"chai":"^4.0.0","standard":"^10.0.3","standard-version":"^4.0.0","tap":"^11.0.0"},"gitHead":"1acaf42e8ababa22c191319b319f25df833ffd79","_id":"require-main-filename@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","dist":{"integrity":"sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==","shasum":"d0b329ecc7cc0f61649f62215be69af54aa8989b","tarball":"http://localhost:4260/require-main-filename/require-main-filename-2.0.0.tgz","fileCount":5,"unpackedSize":3928,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT1tBCRA9TVsSAnZWagAACpUP/1CWLnQggAgCIbJ6ePHM\n7ts/Xk5ikIFSPfvfLDoMhhy8RSa646sfXLgI88wvPyMSNzAH6VQPlr35xi3q\nSsyR15l51yQCMYdQDnkOUNrhS9puo/4J1LCw8QyODw5MBSc78OIDktXEhzeD\n+oiUrHwkyyzKWDO5hJY2L7xjvcV+Amal9jjcnT8CfcaO0BAdEMquPwIKqTs2\n7kHnkbCvcUKzj6SW2TrOrX0hODD39uWZLK5g0BF2LjNX8qmteg/x3+T/Iql6\n8ZPhT2+7runc+z6wW/bXo0goXNTT7PhephyYrkrozl1fJGs54x2jFyqVINLQ\nGBnIZElcV1nf5VCum+3yOxskbmTEidpOZTgZblRO6quvdR7xHloYkL11PeOV\nSrR73bHuXGwZOY2BCTw86w1IbqQQZTy56bymiPrNwefd74bHrDldzAj9kmKI\nMlOkShj59xXgTLJ5D99u3Dn20PbjLQIuoxVMmxKMEe6482mK3Z4DHRUg6heA\nEhsQwgdwMCCwdPvpjgnewuIbOE7UCEB9sIey8FxkAO0OyOuOaUzQRKys1/03\n3qRkxXmBMFvm7kiMewyQueGEqWRlDzN6AXQn/tp6IR4W7H9xUdnZBzdES8GH\n8kaonlsXbMo6eeMzELxahRkYaZBAqRKbQYT1roHAGeRZz0hs+P36bQiwrhBh\nCRE1\r\n=vsrR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUMjZd0CXGkXuEDDJpoLinAcdl/Kx3AmzDarP2bCoaeAiEA4vtpMx3HagFgrpd5RZSO9XMSul/aTv4wRxwLckjFCNE="}]},"directories":{},"_hasShrinkwrap":false}},"readme":"# require-main-filename\n\n[![Build Status](https://travis-ci.org/yargs/require-main-filename.png)](https://travis-ci.org/yargs/require-main-filename)\n[![Coverage Status](https://coveralls.io/repos/yargs/require-main-filename/badge.svg?branch=master)](https://coveralls.io/r/yargs/require-main-filename?branch=master)\n[![NPM version](https://img.shields.io/npm/v/require-main-filename.svg)](https://www.npmjs.com/package/require-main-filename)\n\n`require.main.filename` is great for figuring out the entry\npoint for the current application. This can be combined with a module like\n[pkg-conf](https://www.npmjs.com/package/pkg-conf) to, _as if by magic_, load\ntop-level configuration.\n\nUnfortunately, `require.main.filename` sometimes fails when an application is\nexecuted with an alternative process manager, e.g., [iisnode](https://github.com/tjanczuk/iisnode).\n\n`require-main-filename` is a shim that addresses this problem.\n\n## Usage\n\n```js\nvar main = require('require-main-filename')()\n// use main as an alternative to require.main.filename.\n```\n\n## License\n\nISC\n","homepage":"https://github.com/yargs/require-main-filename#readme","repository":{"type":"git","url":"git+ssh://git@github.com/yargs/require-main-filename.git"},"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"bugs":{"url":"https://github.com/yargs/require-main-filename/issues"},"license":"ISC","readmeFilename":"README.md"}
|