| 1 |
{ |
| 2 |
"_id": "shebang-regex", |
| 3 |
"_rev": "5-5ad78eac84dd9ff895a6303922f2d11a", |
| 4 |
"name": "shebang-regex", |
| 5 |
"description": "Regular expression for matching a shebang line", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "shebang-regex", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Regular expression for matching a shebang", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/shebang-regex" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "node test.js" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"re", |
| 35 |
"regex", |
| 36 |
"regexp", |
| 37 |
"shebang", |
| 38 |
"match", |
| 39 |
"test" |
| 40 |
], |
| 41 |
"devDependencies": { |
| 42 |
"ava": "0.0.4" |
| 43 |
}, |
| 44 |
"gitHead": "cb774c70d5f569479ca997abf8ee7e558e617284", |
| 45 |
"bugs": { |
| 46 |
"url": "https://github.com/sindresorhus/shebang-regex/issues" |
| 47 |
}, |
| 48 |
"homepage": "https://github.com/sindresorhus/shebang-regex", |
| 49 |
"_id": "[email protected]", |
| 50 |
"_shasum": "da42f49740c0b42db2ca9728571cb190c98efea3", |
| 51 |
"_from": ".", |
| 52 |
"_npmVersion": "2.5.1", |
| 53 |
"_nodeVersion": "0.12.0", |
| 54 |
"_npmUser": { |
| 55 |
"name": "sindresorhus", |
| 56 |
"email": "[email protected]" |
| 57 |
}, |
| 58 |
"maintainers": [ |
| 59 |
{ |
| 60 |
"name": "sindresorhus", |
| 61 |
"email": "[email protected]" |
| 62 |
} |
| 63 |
], |
| 64 |
"dist": { |
| 65 |
"shasum": "da42f49740c0b42db2ca9728571cb190c98efea3", |
| 66 |
"tarball": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz" |
| 67 |
}, |
| 68 |
"directories": {} |
| 69 |
}, |
| 70 |
"2.0.0": { |
| 71 |
"name": "shebang-regex", |
| 72 |
"version": "2.0.0", |
| 73 |
"description": "Regular expression for matching a shebang line", |
| 74 |
"license": "MIT", |
| 75 |
"repository": { |
| 76 |
"type": "git", |
| 77 |
"url": "https://github.com/sindresorhus/shebang-regex" |
| 78 |
}, |
| 79 |
"author": { |
| 80 |
"name": "Sindre Sorhus", |
| 81 |
"email": "[email protected]", |
| 82 |
"url": "sindresorhus.com" |
| 83 |
}, |
| 84 |
"engines": { |
| 85 |
"node": ">=0.10.0" |
| 86 |
}, |
| 87 |
"scripts": { |
| 88 |
"test": "xo && ava" |
| 89 |
}, |
| 90 |
"files": [ |
| 91 |
"index.js" |
| 92 |
], |
| 93 |
"keywords": [ |
| 94 |
"re", |
| 95 |
"regex", |
| 96 |
"regexp", |
| 97 |
"shebang", |
| 98 |
"match", |
| 99 |
"test", |
| 100 |
"line" |
| 101 |
], |
| 102 |
"devDependencies": { |
| 103 |
"ava": "*", |
| 104 |
"xo": "*" |
| 105 |
}, |
| 106 |
"gitHead": "62d96ada2264e959e28874b486de85a9593c69ae", |
| 107 |
"bugs": { |
| 108 |
"url": "https://github.com/sindresorhus/shebang-regex/issues" |
| 109 |
}, |
| 110 |
"homepage": "https://github.com/sindresorhus/shebang-regex", |
| 111 |
"_id": "[email protected]", |
| 112 |
"_shasum": "f500bf6851b61356236167de2cc319b0fd7f0681", |
| 113 |
"_from": ".", |
| 114 |
"_npmVersion": "2.14.7", |
| 115 |
"_nodeVersion": "4.2.1", |
| 116 |
"_npmUser": { |
| 117 |
"name": "sindresorhus", |
| 118 |
"email": "[email protected]" |
| 119 |
}, |
| 120 |
"dist": { |
| 121 |
"shasum": "f500bf6851b61356236167de2cc319b0fd7f0681", |
| 122 |
"tarball": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-2.0.0.tgz" |
| 123 |
}, |
| 124 |
"maintainers": [ |
| 125 |
{ |
| 126 |
"name": "sindresorhus", |
| 127 |
"email": "[email protected]" |
| 128 |
} |
| 129 |
], |
| 130 |
"directories": {} |
| 131 |
}, |
| 132 |
"3.0.0": { |
| 133 |
"name": "shebang-regex", |
| 134 |
"version": "3.0.0", |
| 135 |
"description": "Regular expression for matching a shebang line", |
| 136 |
"license": "MIT", |
| 137 |
"repository": { |
| 138 |
"type": "git", |
| 139 |
"url": "git+https://github.com/sindresorhus/shebang-regex.git" |
| 140 |
}, |
| 141 |
"author": { |
| 142 |
"name": "Sindre Sorhus", |
| 143 |
"email": "[email protected]", |
| 144 |
"url": "sindresorhus.com" |
| 145 |
}, |
| 146 |
"engines": { |
| 147 |
"node": ">=8" |
| 148 |
}, |
| 149 |
"scripts": { |
| 150 |
"test": "xo && ava && tsd" |
| 151 |
}, |
| 152 |
"keywords": [ |
| 153 |
"regex", |
| 154 |
"regexp", |
| 155 |
"shebang", |
| 156 |
"match", |
| 157 |
"test", |
| 158 |
"line" |
| 159 |
], |
| 160 |
"devDependencies": { |
| 161 |
"ava": "^1.4.1", |
| 162 |
"tsd": "^0.7.2", |
| 163 |
"xo": "^0.24.0" |
| 164 |
}, |
| 165 |
"gitHead": "27a9a6f0f85c04b9c37a43cf7503fdb58f5ae8d6", |
| 166 |
"bugs": { |
| 167 |
"url": "https://github.com/sindresorhus/shebang-regex/issues" |
| 168 |
}, |
| 169 |
"homepage": "https://github.com/sindresorhus/shebang-regex#readme", |
| 170 |
"_id": "[email protected]", |
| 171 |
"_nodeVersion": "10.15.3", |
| 172 |
"_npmVersion": "6.9.0", |
| 173 |
"_npmUser": { |
| 174 |
"name": "sindresorhus", |
| 175 |
"email": "[email protected]" |
| 176 |
}, |
| 177 |
"dist": { |
| 178 |
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", |
| 179 |
"shasum": "ae16f1644d873ecad843b0307b143362d4c42172", |
| 180 |
"tarball": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", |
| 181 |
"fileCount": 5, |
| 182 |
"unpackedSize": 2828, |
| 183 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxDL7CRA9TVsSAnZWagAAWYAP/R5EbXIFL5aDT7Yavy5P\nrcZIWN4fQwwlFp/YdSocsX/lBlwgJ0axGZsoVxZ78y5TjJZbvJ+6YwYkUGuf\n4bCkNLWdnmI9xNdShULSc1gExlnH/+3ubiKoosm9hJ2z+5CFNB1OWmuxSIxw\nIo/6aSYhhzFmWDrwKkwB4fbb2SMMuyGnHCAq2TolakuSk75OJlHF7xRZWZ5k\nko/2f0CiSaP1OllRMBYWssHCAaEjdXqjOy1fCvoHgTw+aPYWZWnZSlKyQkzu\n20EAgEVhYQkiyZxNNCj40I6VTgr2mZnxTftZx49HwqfVs5qoU8DmCit+pMJd\nY+chiFfltBymUrF54j986kRUc/MkXNsWsRPFzzVg/9mOJAO+n9dW6rMcAM4f\nLbB7ZT5ah8PbgcXlUVCM4nEexLSFKFUhB9GATw/SSEgG/rTdd8sskIPb7lGj\nwMdqDvYh+oTc2r3r8Dl4lQRt/hrmHX3jk5Mf4de+IAPld5+9YDkqCcsev2w8\n44LoqmclULeuxcJPo2IA6K/gbKBmOjWjIuyBdV+8OX4xZFM4Eu9n1NTT7olT\nbGSIkVxASNiIqiatCMl5qqKnClqzY4F+bDVNe+KK6aaPvvV4ShktD4I682pH\nzULKVxadENPKGKhX/Y2xu7va9+GqbHTVwODuFH77n0AXf+BCirHFiKbGSqZg\nGT1V\r\n=FKXn\r\n-----END PGP SIGNATURE-----\r\n" |
| 184 |
}, |
| 185 |
"maintainers": [ |
| 186 |
{ |
| 187 |
"name": "sindresorhus", |
| 188 |
"email": "[email protected]" |
| 189 |
} |
| 190 |
], |
| 191 |
"directories": {}, |
| 192 |
"_npmOperationalInternal": { |
| 193 |
"host": "s3://npm-registry-packages", |
| 194 |
"tmp": "tmp/shebang-regex_3.0.0_1556361979130_0.30848524113197073" |
| 195 |
}, |
| 196 |
"_hasShrinkwrap": false |
| 197 |
} |
| 198 |
}, |
| 199 |
"readme": "# shebang-regex [](https://travis-ci.org/sindresorhus/shebang-regex)\n\n> Regular expression for matching a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) line\n\n\n## Install\n\n```\n$ npm install shebang-regex\n```\n\n\n## Usage\n\n```js\nconst shebangRegex = require('shebang-regex');\n\nconst string = '#!/usr/bin/env node\\nconsole.log(\"unicorns\");';\n\nshebangRegex.test(string);\n//=> true\n\nshebangRegex.exec(string)[0];\n//=> '#!/usr/bin/env node'\n\nshebangRegex.exec(string)[1];\n//=> '/usr/bin/env node'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 200 |
"maintainers": [ |
| 201 |
{ |
| 202 |
"name": "sindresorhus", |
| 203 |
"email": "[email protected]" |
| 204 |
} |
| 205 |
], |
| 206 |
"time": { |
| 207 |
"modified": "2019-04-27T10:46:21.890Z", |
| 208 |
"created": "2015-02-17T05:24:58.945Z", |
| 209 |
"1.0.0": "2015-02-17T05:24:58.945Z", |
| 210 |
"2.0.0": "2015-12-04T16:40:07.830Z", |
| 211 |
"3.0.0": "2019-04-27T10:46:19.256Z" |
| 212 |
}, |
| 213 |
"homepage": "https://github.com/sindresorhus/shebang-regex#readme", |
| 214 |
"keywords": [ |
| 215 |
"regex", |
| 216 |
"regexp", |
| 217 |
"shebang", |
| 218 |
"match", |
| 219 |
"test", |
| 220 |
"line" |
| 221 |
], |
| 222 |
"repository": { |
| 223 |
"type": "git", |
| 224 |
"url": "git+https://github.com/sindresorhus/shebang-regex.git" |
| 225 |
}, |
| 226 |
"author": { |
| 227 |
"name": "Sindre Sorhus", |
| 228 |
"email": "[email protected]", |
| 229 |
"url": "sindresorhus.com" |
| 230 |
}, |
| 231 |
"bugs": { |
| 232 |
"url": "https://github.com/sindresorhus/shebang-regex/issues" |
| 233 |
}, |
| 234 |
"license": "MIT", |
| 235 |
"readmeFilename": "readme.md", |
| 236 |
"users": { |
| 237 |
"hualei": true |
| 238 |
} |
| 239 |
} |