GT2/GT2-Android/node_modules/regenerate/package.json

104 lines
16 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "regenerate@^1.2.1",
"scope": null,
"escapedName": "regenerate",
"name": "regenerate",
"rawSpec": "^1.2.1",
"spec": ">=1.2.1 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/regexpu-core"
]
],
"_from": "regenerate@>=1.2.1 <2.0.0",
"_id": "regenerate@1.3.3",
"_inCache": true,
"_location": "/regenerate",
"_nodeVersion": "8.1.2",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/regenerate-1.3.3.tgz_1505744276299_0.4259878061711788"
},
"_npmUser": {
"name": "mathias",
"email": "mathias@qiwi.be"
},
"_npmVersion": "5.4.1",
"_phantomChildren": {},
"_requested": {
"raw": "regenerate@^1.2.1",
"scope": null,
"escapedName": "regenerate",
"name": "regenerate",
"rawSpec": "^1.2.1",
"spec": ">=1.2.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/regexpu-core"
],
"_resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz",
"_shasum": "0c336d3980553d755c39b586ae3b20aa49c82b7f",
"_shrinkwrap": null,
"_spec": "regenerate@^1.2.1",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/regexpu-core",
"author": {
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
},
"bugs": {
"url": "https://github.com/mathiasbynens/regenerate/issues"
},
"dependencies": {},
"description": "Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.",
"devDependencies": {
"codecov": "^1.0.1",
"grunt": "^0.4.5",
"grunt-shell": "^1.1.1",
"istanbul": "^0.4.3",
"qunit-extras": "^1.1.0",
"qunitjs": "~1.11.0",
"requirejs": "^2.1.15"
},
"directories": {},
"dist": {
"integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==",
"shasum": "0c336d3980553d755c39b586ae3b20aa49c82b7f",
"tarball": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz"
},
"gitHead": "d34ae9be511306a872b742d8421ae18c4ffdc0bf",
"homepage": "https://mths.be/regenerate",
"keywords": [
"regex",
"regexp",
"javascript",
"unicode",
"generator",
"tool"
],
"license": "MIT",
"main": "regenerate.js",
"maintainers": [
{
"name": "mathias",
"email": "mathias@qiwi.be"
}
],
"name": "regenerate",
"optionalDependencies": {},
"readme": "# Regenerate [![Build status](https://travis-ci.org/mathiasbynens/regenerate.svg?branch=master)](https://travis-ci.org/mathiasbynens/regenerate) [![Code coverage status](https://img.shields.io/codecov/c/github/mathiasbynens/regenerate.svg)](https://codecov.io/gh/mathiasbynens/regenerate) [![Dependency status](https://gemnasium.com/mathiasbynens/regenerate.svg)](https://gemnasium.com/mathiasbynens/regenerate)\n\n_Regenerate_ is a Unicode-aware regex generator for JavaScript. It allows you to easily generate ES5-compatible regular expressions based on a given set of Unicode symbols or code points. (This is trickier than you might think, because of [how JavaScript deals with astral symbols](https://mathiasbynens.be/notes/javascript-unicode).)\n\n## Installation\n\nVia [npm](https://npmjs.org/):\n\n```bash\nnpm install regenerate\n```\n\nVia [Bower](http://bower.io/):\n\n```bash\nbower install regenerate\n```\n\nVia [Component](https://github.com/component/component):\n\n```bash\ncomponent install mathiasbynens/regenerate\n```\n\nIn a browser:\n\n```html\n<script src=\"regenerate.js\"></script>\n```\n\nIn [Node.js](https://nodejs.org/), [io.js](https://iojs.org/), and [RingoJS ≥ v0.8.0](http://ringojs.org/):\n\n```js\nvar regenerate = require('regenerate');\n```\n\nIn [Narwhal](http://narwhaljs.org/) and [RingoJS ≤ v0.7.0](http://ringojs.org/):\n\n```js\nvar regenerate = require('regenerate').regenerate;\n```\n\nIn [Rhino](http://www.mozilla.org/rhino/):\n\n```js\nload('regenerate.js');\n```\n\nUsing an AMD loader like [RequireJS](http://requirejs.org/):\n\n```js\nrequire(\n {\n 'paths': {\n 'regenerate': 'path/to/regenerate'\n }\n },\n ['regenerate'],\n function(regenerate) {\n console.log(regenerate);\n }\n);\n```\n\n## API\n\n### `regenerate(value1, value2, value3, ...)`\n\nThe main Regenerate function. Calling this function creates a new set that gets a chainable API.\n\n```js\nvar set = regenerate()\n .addRange(0x60, 0x69) // add U+0060 to U+0069\n .remove(0x62, 0x64) // remove U+0062 and U+0064\n .add(0x1D306); // add U+1D306\nset.valueOf();\n// → [0x60, 0x61, 0x63, 0x65, 0x66, 0x67, 0x68, 0x69, 0x1D306]\nset.toString();\n// → '[`ace-i]|\\\\uD834\\\\uDF06'\nset.toRegExp();\n// → /[`ace-i]|\\uD834\\uDF06/\n```\n\nAny arguments passed to `regenerate()` will be added to the set right away. Both code points (numbers) and symbols (strings consisting of a single Unicode symbol) are accepted, as well as arrays containing values of these types.\n\n```js\nregenerate(0x1D306, 'A', '©', 0x2603).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n\nvar items = [0x1D306, 'A', '©', 0x2603];\nregenerate(items).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n```\n\n### `regenerate.prototype.add(value1, value2, value3, ...)`\n\nAny arguments passed to `add()` are added to the set. Both code points (numbers) and symbols (strings consisting of a single Unicode symbol) are accepted, as well as arrays containing values of these types.\n\n```js\nregenerate().add(0x1D306, 'A', '©', 0x2603).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n\nvar items = [0x1D306, 'A', '©', 0x2603];\nregenerate().add(items).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n```\n\nIts also possible to pass in a Regenerate instance. Doing so adds all code points in that instance to the current set.\n\n```js\nvar set = regenerate(0x1D306, 'A');\nregenerate().add('©', 0x2603).add(set).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n```\n\nNote that the initial call to `regenerate()` acts like `add()`. This allows you to create a new Regenerate instance and add some code points to it in one go:\n\n```js\nregenerate(0x1D306, 'A', '©', 0x2603).toString();\n// → '[A\\\\xA9\\\\u2603]|\\\\uD834\\\\uDF06'\n```\n\n### `regenerate.prototype.remove(value1, value2, value3, ...)`\n\nAny arguments passed to `remove()` are removed to the set. Both code points (numbers) and symbols (strings consisting of a single Unicode symbol) are accepted, as well as arrays c
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/mathiasbynens/regenerate.git"
},
"scripts": {
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js",
"test": "node tests/tests.js"
},
"version": "1.3.3"
}