mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
1 line
7.3 KiB
JSON
1 line
7.3 KiB
JSON
{"_id":"require-main-filename","_rev":"6-4bc1b3c7658156e5bd206b0c1010f54b","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":{"1.0.0":{"name":"require-main-filename","version":"1.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"},"repository":{"type":"git","url":"git+ssh://git@github.com/yargs/require-main-filename.git"},"keywords":["require","shim","iisnode"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/require-main-filename/issues"},"homepage":"https://github.com/yargs/require-main-filename#readme","devDependencies":{"chai":"^3.5.0","standard":"^5.4.1","tap":"^5.2.0"},"gitHead":"a3f31d6b1c9f1ad9383d82dfbf586513a08c4332","_id":"require-main-filename@1.0.0","_shasum":"7224e944964f858cd00b8575c2bede27580d8c34","_from":".","_npmVersion":"3.3.0","_nodeVersion":"3.2.0","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"shasum":"7224e944964f858cd00b8575c2bede27580d8c34","tarball":"http://localhost:4545/npm/registry/require-main-filename/require-main-filename-1.0.0.tgz","integrity":"sha512-UUSbr6p6ex9mm+orbhukpc2DGjuSGAnA0JFocfeP7+Gvq/9TIyO+ldpwJlIQFY7XyqbvuyCUQkNtv5CWcpxiww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFs107RvwXvGSCfq7yRA+43gtx1QA3k5sJXP0rr9pdXAIgWvX53KjhQZdml84Bm7nsE8DXX+TbXs2wKgLErs2HYJA="}]},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"directories":{}},"1.0.1":{"name":"require-main-filename","version":"1.0.1","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"},"repository":{"type":"git","url":"git+ssh://git@github.com/yargs/require-main-filename.git"},"keywords":["require","shim","iisnode"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/require-main-filename/issues"},"homepage":"https://github.com/yargs/require-main-filename#readme","devDependencies":{"chai":"^3.5.0","standard":"^6.0.5","tap":"^5.2.0"},"gitHead":"6dd2291332bed764c56302ccdd14da8a213249a1","_id":"require-main-filename@1.0.1","_shasum":"97f717b69d48784f5f526a6c5aa8ffdda055a4d1","_from":".","_npmVersion":"3.3.0","_nodeVersion":"3.2.0","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"shasum":"97f717b69d48784f5f526a6c5aa8ffdda055a4d1","tarball":"http://localhost:4545/npm/registry/require-main-filename/require-main-filename-1.0.1.tgz","integrity":"sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5oj505F2j+TLoRsnC0myvFg0JqhtwuBhEdjhymROkuwIgXHCU2dotVL14JK8DO8rfpnuJmSREWPyV2YKaJViCl48="}]},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/require-main-filename-1.0.1.tgz_1455688492890_0.0750324921682477"},"directories":{}},"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"},"keywords":["require","shim","iisnode"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/require-main-filename/issues"},"homepage":"https://github.com/yargs/require-main-filename#readme","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","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"integrity":"sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==","shasum":"d0b329ecc7cc0f61649f62215be69af54aa8989b","tarball":"http://localhost:4545/npm/registry/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="}]},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/require-main-filename_2.0.0_1548704576371_0.8953660631860139"},"_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","maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"time":{"modified":"2022-06-26T11:38:43.336Z","created":"2016-02-01T05:57:45.801Z","1.0.0":"2016-02-01T05:57:45.801Z","1.0.1":"2016-02-17T05:54:56.900Z","2.0.0":"2019-01-28T19:42:56.566Z"},"homepage":"https://github.com/yargs/require-main-filename#readme","keywords":["require","shim","iisnode"],"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"}
|