| 1 |
{ |
| 2 |
"_id": "astral-regex", |
| 3 |
"_rev": "2-d00adfda0fb314fcbd8c306e4fa65f09", |
| 4 |
"name": "astral-regex", |
| 5 |
"description": "Regular expression for matching astral symbols", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "astral-regex", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Regular expression for matching astral symbols", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "git+https://github.com/kevva/astral-regex.git" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Kevin Mårtensson", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "github.com/kevva" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=4" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"astral", |
| 35 |
"emoji", |
| 36 |
"regex", |
| 37 |
"surrogate" |
| 38 |
], |
| 39 |
"dependencies": {}, |
| 40 |
"devDependencies": { |
| 41 |
"ava": "*", |
| 42 |
"xo": "*" |
| 43 |
}, |
| 44 |
"gitHead": "20d5f406d37af3697145eb415355a89fdd4a2279", |
| 45 |
"bugs": { |
| 46 |
"url": "https://github.com/kevva/astral-regex/issues" |
| 47 |
}, |
| 48 |
"homepage": "https://github.com/kevva/astral-regex#readme", |
| 49 |
"_id": "[email protected]", |
| 50 |
"_npmVersion": "5.3.0", |
| 51 |
"_nodeVersion": "8.2.1", |
| 52 |
"_npmUser": { |
| 53 |
"name": "kevva", |
| 54 |
"email": "[email protected]" |
| 55 |
}, |
| 56 |
"dist": { |
| 57 |
"integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", |
| 58 |
"shasum": "6c8c3fb827dd43ee3918f27b82782ab7658a6fd9", |
| 59 |
"tarball": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz" |
| 60 |
}, |
| 61 |
"maintainers": [ |
| 62 |
{ |
| 63 |
"name": "kevva", |
| 64 |
"email": "[email protected]" |
| 65 |
} |
| 66 |
], |
| 67 |
"_npmOperationalInternal": { |
| 68 |
"host": "s3://npm-registry-packages", |
| 69 |
"tmp": "tmp/astral-regex-1.0.0.tgz_1500646618230_0.7161293996032327" |
| 70 |
}, |
| 71 |
"directories": {} |
| 72 |
}, |
| 73 |
"2.0.0": { |
| 74 |
"name": "astral-regex", |
| 75 |
"version": "2.0.0", |
| 76 |
"description": "Regular expression for matching astral symbols", |
| 77 |
"license": "MIT", |
| 78 |
"repository": { |
| 79 |
"type": "git", |
| 80 |
"url": "git+https://github.com/kevva/astral-regex.git" |
| 81 |
}, |
| 82 |
"author": { |
| 83 |
"name": "Kevin Mårtensson", |
| 84 |
"email": "[email protected]", |
| 85 |
"url": "github.com/kevva" |
| 86 |
}, |
| 87 |
"engines": { |
| 88 |
"node": ">=8" |
| 89 |
}, |
| 90 |
"scripts": { |
| 91 |
"test": "xo && ava && tsd" |
| 92 |
}, |
| 93 |
"keywords": [ |
| 94 |
"astral", |
| 95 |
"emoji", |
| 96 |
"regex", |
| 97 |
"surrogate" |
| 98 |
], |
| 99 |
"devDependencies": { |
| 100 |
"ava": "^1.4.1", |
| 101 |
"tsd": "^0.7.2", |
| 102 |
"xo": "^0.24.0" |
| 103 |
}, |
| 104 |
"gitHead": "bf63ccebfdea142167aa46e4d149096c77c5ef99", |
| 105 |
"bugs": { |
| 106 |
"url": "https://github.com/kevva/astral-regex/issues" |
| 107 |
}, |
| 108 |
"homepage": "https://github.com/kevva/astral-regex#readme", |
| 109 |
"_id": "[email protected]", |
| 110 |
"_npmVersion": "6.4.1", |
| 111 |
"_nodeVersion": "10.15.2", |
| 112 |
"_npmUser": { |
| 113 |
"name": "kevva", |
| 114 |
"email": "[email protected]" |
| 115 |
}, |
| 116 |
"dist": { |
| 117 |
"integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", |
| 118 |
"shasum": "483143c567aeed4785759c0865786dc77d7d2e31", |
| 119 |
"tarball": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", |
| 120 |
"fileCount": 5, |
| 121 |
"unpackedSize": 3401, |
| 122 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpzGfCRA9TVsSAnZWagAAboMP/jwdGpczNQf1+fB7pP8r\nEx3bXdXBqCohCqsN1oELRlojepIUSN0UMkXOm0e8shf8TZfntrLWDyH4h39G\nOPFUGL3b2Fq9Fb7DhYw+AR4fgPXmDJoC+juqn4CWF9FfZKtWkbgxt0eryITU\nGXH/uikaOkj6n3/87rwwxc1I1wN6e7seheqUIIm47XmbBC8UhR4uDLivbO8G\nnh1Ih8SR80PyjRzMhaKn9cIBaZjk95w2mSttDRx0194sVGsdAA3duDmavgUu\nyNTxWCAxwqUfyw25GywaunnUHqN2TOIJSjuVawRXt3oxT8qF2gOsxL6w8df8\nogZxZmWMtiddYosOaHDbMy5NJ3xAak0d/Fk3MpxLJDoTcieT6ncDFOmldcbe\nn8ScSubjJfwjiWoGDROglVnhOvqaCNbN7tg86M7wbSi2F9/9guNJwGSN3/T5\nnMCNwQlGev+kzUEuqZNY8svVrAm/877hrhsA1E3q5I6jjmO34jrBmKQtOZCS\nAv6Zxml0sOnQAdwHDmKzbwMX/GxrRalY2roRmPD1Subp7ipnYucFqZ3ka6HJ\nRzjGnwUE9HfHV2TfwUBoSlxiFYS4kmBlfiWBsE9kvW5mkoptYarO0AU/WZwv\nOcUyPpcxTWKvcvQ2ofEhtuWydyFNKRtxOzMWMTXlbtcpr9bCSe+JBGeIfZGR\nG5RA\r\n=ZbEs\r\n-----END PGP SIGNATURE-----\r\n" |
| 123 |
}, |
| 124 |
"maintainers": [ |
| 125 |
{ |
| 126 |
"name": "kevva", |
| 127 |
"email": "[email protected]" |
| 128 |
} |
| 129 |
], |
| 130 |
"directories": {}, |
| 131 |
"_npmOperationalInternal": { |
| 132 |
"host": "s3://npm-registry-packages", |
| 133 |
"tmp": "tmp/astral-regex_2.0.0_1554461086900_0.31739720041358344" |
| 134 |
}, |
| 135 |
"_hasShrinkwrap": false |
| 136 |
} |
| 137 |
}, |
| 138 |
"readme": "# astral-regex [](https://travis-ci.org/kevva/astral-regex)\n\n> Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane)\n\n\n## Install\n\n```\n$ npm install astral-regex\n```\n\n\n## Usage\n\n```js\nconst astralRegex = require('astral-regex');\n\nastralRegex({exact: true}).test('🦄');\n//=> true\n\n'foo 🦄 💩 bar'.match(astralRegex());\n//=> ['🦄', '💩']\n```\n\n\n## API\n\n### astralRegex([options])\n\nReturns a `RegExp` for matching astral symbols.\n\n#### options\n\nType: `Object`\n\n##### exact\n\nType: `boolean`<br>\nDefault: `false` *(Matches any astral symbols in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is a astral symbol.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n", |
| 139 |
"maintainers": [ |
| 140 |
{ |
| 141 |
"name": "kevva", |
| 142 |
"email": "[email protected]" |
| 143 |
} |
| 144 |
], |
| 145 |
"time": { |
| 146 |
"modified": "2019-04-05T10:44:50.800Z", |
| 147 |
"created": "2017-07-21T14:16:59.241Z", |
| 148 |
"1.0.0": "2017-07-21T14:16:59.241Z", |
| 149 |
"2.0.0": "2019-04-05T10:44:47.115Z" |
| 150 |
}, |
| 151 |
"homepage": "https://github.com/kevva/astral-regex#readme", |
| 152 |
"keywords": [ |
| 153 |
"astral", |
| 154 |
"emoji", |
| 155 |
"regex", |
| 156 |
"surrogate" |
| 157 |
], |
| 158 |
"repository": { |
| 159 |
"type": "git", |
| 160 |
"url": "git+https://github.com/kevva/astral-regex.git" |
| 161 |
}, |
| 162 |
"author": { |
| 163 |
"name": "Kevin Mårtensson", |
| 164 |
"email": "[email protected]", |
| 165 |
"url": "github.com/kevva" |
| 166 |
}, |
| 167 |
"bugs": { |
| 168 |
"url": "https://github.com/kevva/astral-regex/issues" |
| 169 |
}, |
| 170 |
"license": "MIT", |
| 171 |
"readmeFilename": "readme.md", |
| 172 |
"users": { |
| 173 |
"kakaman": true |
| 174 |
} |
| 175 |
} |