108 lines
3.6 KiB
JSON
108 lines
3.6 KiB
JSON
{
|
||
"_args": [
|
||
[
|
||
{
|
||
"raw": "regjsgen@^0.2.0",
|
||
"scope": null,
|
||
"escapedName": "regjsgen",
|
||
"name": "regjsgen",
|
||
"rawSpec": "^0.2.0",
|
||
"spec": ">=0.2.0 <0.3.0",
|
||
"type": "range"
|
||
},
|
||
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/regexpu-core"
|
||
]
|
||
],
|
||
"_from": "regjsgen@>=0.2.0 <0.3.0",
|
||
"_id": "regjsgen@0.2.0",
|
||
"_inCache": true,
|
||
"_location": "/regjsgen",
|
||
"_npmUser": {
|
||
"name": "d10",
|
||
"email": "demoneaux@gmail.com"
|
||
},
|
||
"_npmVersion": "1.4.3",
|
||
"_phantomChildren": {},
|
||
"_requested": {
|
||
"raw": "regjsgen@^0.2.0",
|
||
"scope": null,
|
||
"escapedName": "regjsgen",
|
||
"name": "regjsgen",
|
||
"rawSpec": "^0.2.0",
|
||
"spec": ">=0.2.0 <0.3.0",
|
||
"type": "range"
|
||
},
|
||
"_requiredBy": [
|
||
"/regexpu-core"
|
||
],
|
||
"_resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
|
||
"_shasum": "6c016adeac554f75823fe37ac05b92d5a4edb1f7",
|
||
"_shrinkwrap": null,
|
||
"_spec": "regjsgen@^0.2.0",
|
||
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/regexpu-core",
|
||
"author": {
|
||
"name": "Benjamin Tan",
|
||
"email": "demoneaux@gmail.com",
|
||
"url": "https://d10.github.io/"
|
||
},
|
||
"bugs": {
|
||
"url": "https://github.com/d10/regjsgen/issues"
|
||
},
|
||
"contributors": [
|
||
{
|
||
"name": "Benjamin Tan",
|
||
"email": "demoneaux@gmail.com",
|
||
"url": "https://d10.github.io/"
|
||
},
|
||
{
|
||
"name": "Mathias Bynens",
|
||
"email": "mathias@qiwi.be",
|
||
"url": "https://mathiasbynens.be/"
|
||
}
|
||
],
|
||
"dependencies": {},
|
||
"description": "Generate `RegExp`s from RegJSParser’s AST",
|
||
"devDependencies": {
|
||
"got": "~1.2.0",
|
||
"jsesc": "~0.5.0"
|
||
},
|
||
"directories": {},
|
||
"dist": {
|
||
"shasum": "6c016adeac554f75823fe37ac05b92d5a4edb1f7",
|
||
"tarball": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz"
|
||
},
|
||
"files": [
|
||
"LICENSE.txt",
|
||
"regjsgen.js",
|
||
"README.md"
|
||
],
|
||
"homepage": "https://github.com/d10/regjsgen",
|
||
"keywords": [
|
||
"ast",
|
||
"generate",
|
||
"regex",
|
||
"regexp",
|
||
"regular expressions"
|
||
],
|
||
"license": "MIT",
|
||
"main": "regjsgen.js",
|
||
"maintainers": [
|
||
{
|
||
"name": "d10",
|
||
"email": "demoneaux@gmail.com"
|
||
}
|
||
],
|
||
"name": "regjsgen",
|
||
"optionalDependencies": {},
|
||
"readme": "# RegJSGen\n\nGenerate `RegExp`s from [RegJSParser](https://github.com/jviereck/regjsparser)’s AST.\n\n## Installation\n\n```bash\nnpm install --save regjsgen\n```\n\n## Usage\n\n```js\nvar regjsgen = require('regjsgen');\n// With `regjsparser`\nvar regjsparser = require('regjsparser');\nvar regex = '^a$';\nvar ast = regjsparser.parse(regex);\n// Modify AST\n// ...\n// Regenerate `RegExp`\nregex = regjsgen.generate(ast);\n```\n\n## See Also\n\n * [RegJSParser](https://github.com/jviereck/regjsparser)\n * [RegExp.js](https://github.com/jviereck/regexp.js)\n\n## Testing\n\nRun the command\n\n```bash\nnpm test\n```\n\nTo create a new reference file, execute\n\n```bash\nnode test/update-fixture.js\n```\n\nfrom the repo top directory.\n\n## Support\n\nTested in Node.js 0.8.26~0.10.30.\n\n## Author\n\n| [![twitter/demoneaux](http://gravatar.com/avatar/029b19dba521584d83398ada3ecf6131?s=70)](https://twitter.com/demoneaux \"Follow @demoneaux on Twitter\") |\n|---|\n| [Benjamin Tan](http://d10.github.io/) |\n\n## Contributors\n\n| [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](http://mathiasbynens.be/) |\n",
|
||
"readmeFilename": "README.md",
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "git+https://github.com/d10/regjsgen.git"
|
||
},
|
||
"scripts": {
|
||
"test": "node test/test.js"
|
||
},
|
||
"version": "0.2.0"
|
||
}
|