{
  "manifest": {
    "name": "@babel/regjsgen",
    "version": "0.8.0",
    "description": "Generate regular expressions from regjsparser’s AST.",
    "homepage": "https://github.com/bnjmnt4n/regjsgen",
    "main": "regjsgen.js",
    "keywords": [
      "ast",
      "generate",
      "regex",
      "regexp",
      "regular expressions"
    ],
    "license": "MIT",
    "author": {
      "name": "Benjamin Tan",
      "url": "https://ofcr.se/"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/bnjmnt4n/regjsgen.git"
    },
    "bugs": {
      "url": "https://github.com/bnjmnt4n/regjsgen/issues"
    },
    "files": [
      "LICENSE-MIT.txt",
      "regjsgen.js"
    ],
    "scripts": {
      "test": "node tests/tests.js",
      "coverage": "nyc --reporter=html npm test",
      "report-coverage": "nyc --reporter=lcov npm test && codecov",
      "update-fixtures": "node tests/update-fixtures.js"
    },
    "devDependencies": {
      "codecov": "^3.8.3",
      "nyc": "^15.1.0",
      "regjsparser": "^0.9.1",
      "request": "^2.88.2"
    },
    "publishConfig": {
      "access": "public"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-@babel-regjsgen-0.8.0-f0ba69b075e1f05fb2825b7fad991e7adbb18310-integrity/node_modules/@babel/regjsgen/package.json",
    "readmeFilename": "README.md",
    "readme": "# regjsgen [![Build status][ci-img]][ci] [![Code coverage status][codecov-img]][codecov]\n\n> This is a fork of [bnjmnt4n/regjsgen](https://github.com/bnjmnt4n/regjsgen) with some additional patches. The end goal is to merge these patches upstream.\n> - [be866435](https://github.com/babel/regjsgen/commit/be86643508658c70ccb5bec8bc4e3dc2479cac62) _feat: support modifiers proposal_ ([bnjmnt4n/regjsgen#28](https://github.com/bnjmnt4n/regjsgen/pull/28))\n\nGenerate regular expressions from [regjsparser][regjsparser]’s AST.\n\n## Installation\n\n```sh\nnpm i regjsgen\n```\n\n## API\n\n### `regjsgen.generate(ast)`\n\nThis function accepts an abstract syntax tree representing a regular expression (see [regjsparser][regjsparser]), and returns the generated regular expression string.\n\n```js\nconst regjsparser = require('regjsparser');\nconst regjsgen = require('regjsgen');\n\n// Generate an AST with `regjsparser`.\nlet ast = regjsparser.parse(regex);\n\n// Modify AST\n// …\n\n// Generate `RegExp` string with `regjsgen`.\nlet regex = regjsgen.generate(ast);\n```\n\n## Support\n\nTested in Node.js 10, 12, 14, and 16.<br>\nCompatible with regjsparser v0.7.0’s AST.\n\n\n[ci]: https://github.com/bnjmnt4n/regjsgen/actions\n[ci-img]: https://github.com/bnjmnt4n/regjsgen/workflows/Node.js%20CI/badge.svg\n[codecov]: https://codecov.io/gh/bnjmnt4n/regjsgen\n[codecov-img]: https://codecov.io/gh/bnjmnt4n/regjsgen/branch/master/graph/badge.svg\n[regjsparser]: https://github.com/jviereck/regjsparser\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz",
    "hash": "f0ba69b075e1f05fb2825b7fad991e7adbb18310",
    "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==",
    "registry": "npm",
    "packageName": "@babel/regjsgen",
    "cacheIntegrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== sha1-8LppsHXh8F+yglt/rZkeetuxgxA="
  },
  "registry": "npm",
  "hash": "f0ba69b075e1f05fb2825b7fad991e7adbb18310"
}