| 1 |
{ |
| 2 |
"_id": "require-main-filename", |
| 3 |
"_rev": "3-49ba789682d799446550c6b0388fce81", |
| 4 |
"name": "require-main-filename", |
| 5 |
"description": "shim for require.main.filename() that works in as many environments as possible", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "require-main-filename", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "shim for require.main.filename() that works in as many environments as possible", |
| 14 |
"main": "index.js", |
| 15 |
"scripts": { |
| 16 |
"pretest": "standard", |
| 17 |
"test": "tap --coverage test.js" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git+ssh://[email protected]/yargs/require-main-filename.git" |
| 22 |
}, |
| 23 |
"keywords": [ |
| 24 |
"require", |
| 25 |
"shim", |
| 26 |
"iisnode" |
| 27 |
], |
| 28 |
"author": { |
| 29 |
"name": "Ben Coe", |
| 30 |
"email": "[email protected]" |
| 31 |
}, |
| 32 |
"license": "ISC", |
| 33 |
"bugs": { |
| 34 |
"url": "https://github.com/yargs/require-main-filename/issues" |
| 35 |
}, |
| 36 |
"homepage": "https://github.com/yargs/require-main-filename#readme", |
| 37 |
"devDependencies": { |
| 38 |
"chai": "^3.5.0", |
| 39 |
"standard": "^5.4.1", |
| 40 |
"tap": "^5.2.0" |
| 41 |
}, |
| 42 |
"gitHead": "a3f31d6b1c9f1ad9383d82dfbf586513a08c4332", |
| 43 |
"_id": "[email protected]", |
| 44 |
"_shasum": "7224e944964f858cd00b8575c2bede27580d8c34", |
| 45 |
"_from": ".", |
| 46 |
"_npmVersion": "3.3.0", |
| 47 |
"_nodeVersion": "3.2.0", |
| 48 |
"_npmUser": { |
| 49 |
"name": "bcoe", |
| 50 |
"email": "[email protected]" |
| 51 |
}, |
| 52 |
"dist": { |
| 53 |
"shasum": "7224e944964f858cd00b8575c2bede27580d8c34", |
| 54 |
"tarball": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.0.tgz" |
| 55 |
}, |
| 56 |
"maintainers": [ |
| 57 |
{ |
| 58 |
"name": "bcoe", |
| 59 |
"email": "[email protected]" |
| 60 |
} |
| 61 |
], |
| 62 |
"directories": {} |
| 63 |
}, |
| 64 |
"1.0.1": { |
| 65 |
"name": "require-main-filename", |
| 66 |
"version": "1.0.1", |
| 67 |
"description": "shim for require.main.filename() that works in as many environments as possible", |
| 68 |
"main": "index.js", |
| 69 |
"scripts": { |
| 70 |
"pretest": "standard", |
| 71 |
"test": "tap --coverage test.js" |
| 72 |
}, |
| 73 |
"repository": { |
| 74 |
"type": "git", |
| 75 |
"url": "git+ssh://[email protected]/yargs/require-main-filename.git" |
| 76 |
}, |
| 77 |
"keywords": [ |
| 78 |
"require", |
| 79 |
"shim", |
| 80 |
"iisnode" |
| 81 |
], |
| 82 |
"author": { |
| 83 |
"name": "Ben Coe", |
| 84 |
"email": "[email protected]" |
| 85 |
}, |
| 86 |
"license": "ISC", |
| 87 |
"bugs": { |
| 88 |
"url": "https://github.com/yargs/require-main-filename/issues" |
| 89 |
}, |
| 90 |
"homepage": "https://github.com/yargs/require-main-filename#readme", |
| 91 |
"devDependencies": { |
| 92 |
"chai": "^3.5.0", |
| 93 |
"standard": "^6.0.5", |
| 94 |
"tap": "^5.2.0" |
| 95 |
}, |
| 96 |
"gitHead": "6dd2291332bed764c56302ccdd14da8a213249a1", |
| 97 |
"_id": "[email protected]", |
| 98 |
"_shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1", |
| 99 |
"_from": ".", |
| 100 |
"_npmVersion": "3.3.0", |
| 101 |
"_nodeVersion": "3.2.0", |
| 102 |
"_npmUser": { |
| 103 |
"name": "bcoe", |
| 104 |
"email": "[email protected]" |
| 105 |
}, |
| 106 |
"dist": { |
| 107 |
"shasum": "97f717b69d48784f5f526a6c5aa8ffdda055a4d1", |
| 108 |
"tarball": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz" |
| 109 |
}, |
| 110 |
"maintainers": [ |
| 111 |
{ |
| 112 |
"name": "bcoe", |
| 113 |
"email": "[email protected]" |
| 114 |
} |
| 115 |
], |
| 116 |
"_npmOperationalInternal": { |
| 117 |
"host": "packages-6-west.internal.npmjs.com", |
| 118 |
"tmp": "tmp/require-main-filename-1.0.1.tgz_1455688492890_0.0750324921682477" |
| 119 |
}, |
| 120 |
"directories": {} |
| 121 |
}, |
| 122 |
"2.0.0": { |
| 123 |
"name": "require-main-filename", |
| 124 |
"version": "2.0.0", |
| 125 |
"description": "shim for require.main.filename() that works in as many environments as possible", |
| 126 |
"main": "index.js", |
| 127 |
"scripts": { |
| 128 |
"pretest": "standard", |
| 129 |
"test": "tap --coverage test.js", |
| 130 |
"release": "standard-version" |
| 131 |
}, |
| 132 |
"repository": { |
| 133 |
"type": "git", |
| 134 |
"url": "git+ssh://[email protected]/yargs/require-main-filename.git" |
| 135 |
}, |
| 136 |
"keywords": [ |
| 137 |
"require", |
| 138 |
"shim", |
| 139 |
"iisnode" |
| 140 |
], |
| 141 |
"author": { |
| 142 |
"name": "Ben Coe", |
| 143 |
"email": "[email protected]" |
| 144 |
}, |
| 145 |
"license": "ISC", |
| 146 |
"bugs": { |
| 147 |
"url": "https://github.com/yargs/require-main-filename/issues" |
| 148 |
}, |
| 149 |
"homepage": "https://github.com/yargs/require-main-filename#readme", |
| 150 |
"devDependencies": { |
| 151 |
"chai": "^4.0.0", |
| 152 |
"standard": "^10.0.3", |
| 153 |
"standard-version": "^4.0.0", |
| 154 |
"tap": "^11.0.0" |
| 155 |
}, |
| 156 |
"gitHead": "1acaf42e8ababa22c191319b319f25df833ffd79", |
| 157 |
"_id": "[email protected]", |
| 158 |
"_npmVersion": "6.5.0", |
| 159 |
"_nodeVersion": "11.8.0", |
| 160 |
"_npmUser": { |
| 161 |
"name": "bcoe", |
| 162 |
"email": "[email protected]" |
| 163 |
}, |
| 164 |
"dist": { |
| 165 |
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", |
| 166 |
"shasum": "d0b329ecc7cc0f61649f62215be69af54aa8989b", |
| 167 |
"tarball": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", |
| 168 |
"fileCount": 5, |
| 169 |
"unpackedSize": 3928, |
| 170 |
"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" |
| 171 |
}, |
| 172 |
"maintainers": [ |
| 173 |
{ |
| 174 |
"name": "bcoe", |
| 175 |
"email": "[email protected]" |
| 176 |
} |
| 177 |
], |
| 178 |
"directories": {}, |
| 179 |
"_npmOperationalInternal": { |
| 180 |
"host": "s3://npm-registry-packages", |
| 181 |
"tmp": "tmp/require-main-filename_2.0.0_1548704576371_0.8953660631860139" |
| 182 |
}, |
| 183 |
"_hasShrinkwrap": false |
| 184 |
} |
| 185 |
}, |
| 186 |
"readme": "# require-main-filename\n\n[](https://travis-ci.org/yargs/require-main-filename)\n[](https://coveralls.io/r/yargs/require-main-filename?branch=master)\n[](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", |
| 187 |
"maintainers": [ |
| 188 |
{ |
| 189 |
"name": "bcoe", |
| 190 |
"email": "[email protected]" |
| 191 |
} |
| 192 |
], |
| 193 |
"time": { |
| 194 |
"modified": "2019-01-28T19:42:59.378Z", |
| 195 |
"created": "2016-02-01T05:57:45.801Z", |
| 196 |
"1.0.0": "2016-02-01T05:57:45.801Z", |
| 197 |
"1.0.1": "2016-02-17T05:54:56.900Z", |
| 198 |
"2.0.0": "2019-01-28T19:42:56.566Z" |
| 199 |
}, |
| 200 |
"homepage": "https://github.com/yargs/require-main-filename#readme", |
| 201 |
"keywords": [ |
| 202 |
"require", |
| 203 |
"shim", |
| 204 |
"iisnode" |
| 205 |
], |
| 206 |
"repository": { |
| 207 |
"type": "git", |
| 208 |
"url": "git+ssh://[email protected]/yargs/require-main-filename.git" |
| 209 |
}, |
| 210 |
"author": { |
| 211 |
"name": "Ben Coe", |
| 212 |
"email": "[email protected]" |
| 213 |
}, |
| 214 |
"bugs": { |
| 215 |
"url": "https://github.com/yargs/require-main-filename/issues" |
| 216 |
}, |
| 217 |
"license": "ISC", |
| 218 |
"readmeFilename": "README.md" |
| 219 |
} |