{"_id":"vite-plugin-peggy-loader","_rev":"4-79334eea137e9cf0bc718e44bc8e9cfb","name":"vite-plugin-peggy-loader","dist-tags":{"latest":"2.0.1"},"versions":{"0.0.1":{"name":"vite-plugin-peggy-loader","version":"0.0.1","keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"license":"MIT","_id":"vite-plugin-peggy-loader@0.0.1","maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"dist":{"shasum":"86ed5b8a01a9a95d158e53a7e3776893ddaaac82","tarball":"https://registry.npmjs.org/vite-plugin-peggy-loader/-/vite-plugin-peggy-loader-0.0.1.tgz","fileCount":6,"integrity":"sha512-GStm021d/orWZV2gmUVS0kvv4cw6MrkIY/liIeL5e/ejKqxb/u7+YxXPQH/w5Zhxvul0+WittiIWa6SpfgUS1w==","signatures":[{"sig":"MEQCIEaYcHkdL+myY1viiZr4jIH1e2mYNdE8KVCU6AwREZ7iAiBMbDhkG9AX9cAIZsxvUKnjZ0ZntY1AqdNSTiqAVd4Lgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGFC+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIQg/8DQDHcY7J7hsUI/QEOq7Qg+WhPDQdkabwXY5uY9iH+aH9kzzc\r\nYOeknDWs0tiFFC0rneficg/aprDRbpF+dr3A85+7vawR05saWGGCTPKv//hk\r\nInk90/NBdIqj8rq6zZdaOPhxECJauu4OKHPeHppIiPtwica2V2d6xdxqPz2f\r\nZ/igz727EvKdE9C1t/o5kfTQxV92S+Kdlo9Mprz0IcP3wD6/oHQJK9Io9K+u\r\nA3MVy9g7UJ1WIQnbV3/8vAgMoYn77fXissyfaeaCujmnjCXsTpH4DRoexDTX\r\nLUYc4850p5yhp5Ptfuea9PoiJ84v3uNBrX5fZDxubuw/GLVRvDp95EzUzOth\r\nDB4oU3KP27n8+NM/uwB7S5i8e9x5jvkfmZI9GCDx1ZNVjx9fO9mSDbulL3kj\r\nXjL0siWZRkGNTQTw5qH/CfFM1TYx07v4LDviRhGHUqHQGJ0Wf+fVGTGXvSIr\r\niri6GoKn6zcShcr+aBatluM+iC6ANQ3/Wid2Oab9dmWUxVtBcTLl4wOcT3Ae\r\neZVXfeDiAdR1UCSRg5ggKuxqcqsg+9F8cD0ZwiLbWHCKj51fArwAwsjVldDl\r\n3IYnk9tEU6BpesblvYuePRF9HatbtKfWntvnXEmddD32yAKFQk8b2rfdX143\r\n6C7T6yW5waXLI1iq0f6I+YtshtVqVg6tttk=\r\n=sQit\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","authors":["Andrey Subbotin <andrey@subbotin.me> (https://github.com/eploko)","Victor Homyakov (https://github.com/victor-homyakov)","Jonathan <jonathan@sirenia.eu>","Mathias <mathias@sirenia.eu>"],"gitHead":"79dbc6f1929cb4ecc4b93c7694b5c7ff3f13bb22","scripts":{"lint":"eslint src","build":"npm run build:lib","check":"npm run lint","clean":"rimraf lib","version":"0.0.1","build:lib":"babel src --out-dir lib","prepublish":"npm run clean && npm run build","preversion":"npm run clean && npm run check","postversion":"git push && git push --tags && npm run clean"},"_npmUser":{"name":"sirenia","email":"jonathan+npm@sirenia.eu"},"repository":{"url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git","type":"git"},"_npmVersion":"9.5.1","description":"Peggy loader for vite","directories":{},"jsnext:main":"src/index.js","_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.1.0","babel":"^5.5.8","peggy":"^1.2.0","eslint":"~> 4.19.1","lodash":">=4.17.12","rimraf":"^2.3.4","babel-core":"^6.26.3","babel-eslint":"^4.1.0","babel-loader":"^5.1.4","eslint-plugin-react":"^7.14.2","eslint-config-airbnb":"^17.1.1","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3"},"peerDependencies":{"peggy":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-peggy-loader_0.0.1_1679315133783_0.3202405700726201","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"vite-plugin-peggy-loader","version":"1.0.0","keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"license":"MIT","_id":"vite-plugin-peggy-loader@1.0.0","maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"dist":{"shasum":"a94958b0c91cf201f0d5584e885d5c519968e853","tarball":"https://registry.npmjs.org/vite-plugin-peggy-loader/-/vite-plugin-peggy-loader-1.0.0.tgz","fileCount":6,"integrity":"sha512-pe7pXu+fhiJ1/ACo3O2faC51ZlVFdoTXQUYdegVkTVFL/SjkI5CNDTjhjHxO+HGVqWni6jzIt7I8bIwH26x5Xw==","signatures":[{"sig":"MEQCIGGvPnvqYGdVUExaOju76Ec08jYV1BDMrJ8Y3hCvmfeVAiBQ/oixTANs9SW1ZV5ByJC5GqIIPhl+jX7/dn4/3gGp5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGFfKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSjA//eTvFkPCG8d6jBvPpluhkRRrH/ii/VTjYP0O03NPBIO4leUDz\r\n8YU01kxEh8KWAMk51eLd1lS+M6q5qgdVhGNpGYkg1q8uVDliopQjvHvMysWZ\r\njJQ4lftqZIiLA9+84I0suzCLJF1eWXrBgdEL65tJSvFHkx4TRUDfYxOLI12F\r\n73QcxF8ZaL0QaRpzWmPCIP9vUz4t3k01L9yFybn2LM/7nBHj43vSyvhNGNBZ\r\n6/Qj7RSxIyyCQRZVsSj+q2/+UBJjuklsMnOwvg4FEFmmDLpdrthetXUAttnn\r\nm5ARuGfy9xwsl2+KP5k5a00jIxj4BLGrD/7aBxfjLAKCM5raM3fm2ndX+9K+\r\n0MHjbEKfOUDz+JUL0bkybDOJv+WpFDW1Oc+tW8sduJJ90hkFGZ8tshnXJHv8\r\n7c2kYfA7PNlgy4JEXLu6UlMUmrlLXHKpb8WCMeN7UadMRRgRmgT3x/RJW42m\r\nfzh1vDE+Z/mX7VICsCoN/3e0vC+nur3nnKB+KUuBpR8XHkJ+fzRQxMxEftaC\r\nRylL6Z4XDNbU1Pt/P2hEuxXB9yUuprjKt3ZKeJFlT13dD2iAWyd6/CKnN3Q9\r\noAcQJMIKi2US/NbKsQ8ukAFletsYHXv9rc5avsl6xFL62ePLGKTwjX2jimHO\r\n2v50LMxy4Y973xWD1/7qVEr6ogDKuyHlIm4=\r\n=+Uu8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","authors":["Andrey Subbotin <andrey@subbotin.me> (https://github.com/eploko)","Victor Homyakov (https://github.com/victor-homyakov)","Jonathan <jonathan@sirenia.eu>","Mathias <mathias@sirenia.eu>"],"gitHead":"b292521561e7d88d672af951d7bbaa92412967e5","scripts":{"lint":"eslint src","build":"npm run build:lib","check":"npm run lint","clean":"rimraf lib","build:lib":"babel src --out-dir lib","npmversion":"npm run build","prepublish":"npm run clean && npm run build","preversion":"npm run clean && npm run check","postversion":"git push && git push --tags && npm run clean"},"_npmUser":{"name":"sirenia","email":"jonathan+npm@sirenia.eu"},"repository":{"url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git","type":"git"},"_npmVersion":"9.5.1","description":"Peggy loader for vite","directories":{},"jsnext:main":"src/index.js","_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.1.0","babel":"^5.5.8","peggy":"^1.2.0","eslint":"~> 4.19.1","lodash":">=4.17.12","rimraf":"^2.3.4","babel-core":"^6.26.3","babel-eslint":"^4.1.0","babel-loader":"^5.1.4","eslint-plugin-react":"^7.14.2","eslint-config-airbnb":"^17.1.1","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3"},"peerDependencies":{"peggy":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-peggy-loader_1.0.0_1679316938280_0.17848342770707815","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"vite-plugin-peggy-loader","version":"1.0.1","keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"license":"MIT","_id":"vite-plugin-peggy-loader@1.0.1","maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"dist":{"shasum":"7803fefd0560e3a154ca6d60442b7857c5d704eb","tarball":"https://registry.npmjs.org/vite-plugin-peggy-loader/-/vite-plugin-peggy-loader-1.0.1.tgz","fileCount":6,"integrity":"sha512-3oa1K9onmvZAIny8TtioZLESPJNZhsV9ONj9MPHlgav30GxJC9l2uPXcb5VmEmQw02kr4crPWhWQPUos/ZWq7A==","signatures":[{"sig":"MEUCIDBcJFnjwumqlLeIDeicLGGNijBJLt0QiX3wQNW93dx0AiEAlo6LOuTtTRk3CGLQgMQ/rsiJTrE2JQpK+gxUdIK7E5Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGF7CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcHw/9GDztRM95x3KB59UL7oQyhM809fqIarG/mAePzXYDB82wnClS\r\nunaDv6USQvKd2lG7yYwu6F4ZDj0VLLHZrVwr6uORAwGhkSgTAC+Mlxca6PPn\r\nXR4zi54oSdWc7YVJZzwyeE6zC2rCQxTuRK6DSJ3Xa6Mp7jRoLp676CcFluai\r\n9VJ5SJPKgQXAM3nxouSYFW95D9TEVBz0AXX0DTqOD4tu6xa6gX9GqYtnhaGe\r\nk9KDU1upi3s6Nfabd9bLlntiWubILOHqCFvZsWeq37mGKKsrrYvzMXbmNW1b\r\nmfjTOQTn9lyQ6rMOxDkRmHljZLQEuz60R5MGvcVY8kAvZz6KawY4iApxZ5Xt\r\n3J2YrprqB9butqS0mzxZm4PSYSd1ozbrllQNxalvbedGQdPC8XxwpImb7BjC\r\n0g4yBVcViz78FIfyMuGKHNqOXCbTgNXpwHqjdzcqIKYMGj7MP4kZsVkOGtaR\r\nJIzfz0ml1J/uTLTeaAvJ3bv1B/F5wTOzhJfJKIlDs7Ir9tv2LLKwo3ptTcaV\r\n3n0mmUvgmXSwWc4iDf2XBi0fLZzrrJGkoCF06HebJTLPinlamxoQmAFd6uCa\r\ngxCHDVWMqCKG8eg9iRT4xtyTtF19PofzJmJL3z325RTOAPS6pqzMJNktowaO\r\n4v78vlR7UhRmc6OFItvW/bGyuUiwTAz0mF0=\r\n=+5ip\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","authors":["Andrey Subbotin <andrey@subbotin.me> (https://github.com/eploko)","Victor Homyakov (https://github.com/victor-homyakov)","Jonathan <jonathan@sirenia.eu>","Mathias <mathias@sirenia.eu>"],"gitHead":"a87e9b58c2addd140e6e73aec0eb117daa6dc432","scripts":{"lint":"eslint src","build":"npm run build:lib","check":"npm run lint","clean":"rimraf lib","build:lib":"babel src --out-dir lib","npmversion":"npm run build","prepublish":"npm run clean && npm run build","preversion":"npm run clean && npm run check","postversion":"git push && git push --tags && npm run clean"},"_npmUser":{"name":"sirenia","email":"jonathan+npm@sirenia.eu"},"repository":{"url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git","type":"git"},"_npmVersion":"9.5.1","description":"Peggy loader for vite","directories":{},"jsnext:main":"src/index.js","_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.1.0","babel":"^5.5.8","peggy":"^1.2.0","eslint":"~> 4.19.1","lodash":">=4.17.12","rimraf":"^2.3.4","babel-core":"^6.26.3","babel-eslint":"^4.1.0","babel-loader":"^5.1.4","eslint-plugin-react":"^7.14.2","eslint-config-airbnb":"^17.1.1","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3"},"peerDependencies":{"peggy":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-peggy-loader_1.0.1_1679318722469_0.07906775522468701","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"vite-plugin-peggy-loader","version":"2.0.0","keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"license":"MIT","_id":"vite-plugin-peggy-loader@2.0.0","maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"dist":{"shasum":"083d5fb57742c7542883d253977d8162f19a0350","tarball":"https://registry.npmjs.org/vite-plugin-peggy-loader/-/vite-plugin-peggy-loader-2.0.0.tgz","fileCount":7,"integrity":"sha512-rK+I+7WWELJtTPLeF3rdoCnAo3IvIgbPVOJMDe5WXw9mt4vdKOYxP21Z0/avJMBzLp5VWHThr8a2JjP8Im+Ipg==","signatures":[{"sig":"MEUCIAEqaDX2nhHhHRo5VVE2DI+B4Kcs8oAbHrCBtWIODSCLAiEA66z6HG5oBvOiEU/11ZiOg85+lGMiXSuLFjyO66u2HWA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9335},"main":"lib/index.js","authors":["Andrey Subbotin <andrey@subbotin.me> (https://github.com/eploko)","Victor Homyakov (https://github.com/victor-homyakov)","Jonathan <jonathan@sirenia.eu>","Mathias <mathias@sirenia.eu>"],"gitHead":"6cc5a0f547c1344f0a45ecaa6aa01d1e1bc9ed84","scripts":{"lint":"eslint src","build":"npm run build:lib","check":"npm run lint","clean":"rimraf lib","build:lib":"babel src --out-dir lib","npmversion":"npm run build","prepublish":"npm run clean && npm run build","preversion":"npm run clean && npm run check","postversion":"git push && git push --tags && npm run clean"},"_npmUser":{"name":"sirenia","email":"jonathan+npm@sirenia.eu"},"repository":{"url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git","type":"git"},"_npmVersion":"9.8.0","description":"Peggy loader for vite","directories":{},"jsnext:main":"src/index.js","_nodeVersion":"20.5.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.1.0","babel":"^5.5.8","peggy":"^3.0.0","eslint":"~> 8.46.0","lodash":">=4.17.12","rimraf":"^5.0.0","babel-core":"^6.26.3","babel-eslint":"^10.0.0","babel-loader":"^9.0.0","eslint-plugin-react":"^7.14.2","eslint-config-airbnb":"^19.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3"},"peerDependencies":{"peggy":"^1.2.0 || ^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-peggy-loader_2.0.0_1691506897039_0.4426662992033994","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"vite-plugin-peggy-loader","version":"2.0.1","description":"Peggy loader for vite","authors":["Andrey Subbotin <andrey@subbotin.me> (https://github.com/eploko)","Victor Homyakov (https://github.com/victor-homyakov)","Jonathan <jonathan@sirenia.eu>","Mathias <mathias@sirenia.eu>"],"license":"MIT","main":"lib/index.js","jsnext:main":"src/index.js","repository":{"type":"git","url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git"},"keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","peerDependencies":{"peggy":"^1.2.0 || ^3.0.2 || ^4.0.0"},"devDependencies":{"babel":"^5.5.8","babel-core":"^6.26.3","@babel/eslint-parser":"^7.11.0","babel-loader":"^9.0.0","eslint":"~> 8.57.0","eslint-config-airbnb":"^19.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.2","lodash":">=4.17.12","peggy":"^4.0.0","rimraf":"^5.0.0","vite":"^5.0.0"},"scripts":{"clean":"rimraf lib","lint":"eslint src","check":"npm run lint","build:lib":"babel src --out-dir lib","build":"npm run build:lib","preversion":"npm run clean && npm run check","npmversion":"npm run build","postversion":"git push && git push --tags && npm run clean","prepublish":"npm run clean && npm run build"},"_id":"vite-plugin-peggy-loader@2.0.1","gitHead":"f6d2b50c5ba7decd52b2398c8e6763c10623d117","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-vncf9LO1Eo8NBacXsJMEpmOnBGqgniiFmqDWsABvo/eL8vUuFd5pnzVfJkNFoKophAYckv2J8aMqov+7lMg9Nw==","shasum":"f053615c1da4b379360b6e52a9b3808b4bef7ad9","tarball":"https://registry.npmjs.org/vite-plugin-peggy-loader/-/vite-plugin-peggy-loader-2.0.1.tgz","fileCount":7,"unpackedSize":9344,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHgQNBvAJ7f2TeX1ckSfI2fyuGJWJzU1Z2I8cfkrhS/QIgdb+UTHHgQS1kAsjMK7w2EmjnNdVV2WQbj+yfqH2ESgw="}]},"_npmUser":{"name":"sirenia","email":"jonathan+npm@sirenia.eu"},"directories":{},"maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-peggy-loader_2.0.1_1722846407169_0.1188958124265822"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-20T12:25:33.782Z","modified":"2024-08-05T08:26:47.482Z","0.0.1":"2023-03-20T12:25:33.974Z","1.0.0":"2023-03-20T12:55:38.427Z","1.0.1":"2023-03-20T13:25:22.565Z","2.0.0":"2023-08-08T15:01:37.268Z","2.0.1":"2024-08-05T08:26:47.321Z"},"bugs":{"url":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader/-/issues"},"license":"MIT","homepage":"https://gitlab.com/sirenia/open/vite-plugin-peggy-loader","keywords":["vite","peggy","pegjs","peg.js","peg","loader"],"repository":{"type":"git","url":"git+https://gitlab.com/sirenia/open/vite-plugin-peggy-loader.git"},"description":"Peggy loader for vite","maintainers":[{"name":"sirenia","email":"jonathan+npm@sirenia.eu"}],"readme":"# [Peggy](https://github.com/peggyjs/peggy) loader for [Vite](https://github.com/vitejs/vite)\n\n[![npm version](https://img.shields.io/npm/v/vite-plugin-peggy-loader.svg?style=flat-square)](https://www.npmjs.com/package/vite-plugin-peggy-loader)\n[![npm downloads](https://img.shields.io/npm/dm/vite-plugin-peggy-loader.svg?style=flat-square)](https://www.npmjs.com/package/vite-plugin-peggy-loader)\n\n## Install\n\ncode based on [peggy-loader for webpack](https://github.com/sireniaeu/peggy-loader).\n\n`npm install vite-plugin-peggy-loader`\n\nThe pegjs-loader requires [peggy](https://github.com/peggyjs/peggy)\nas [`peerDependency`](https://docs.npmjs.com/files/package.json#peerdependencies). Thus you are able to specify the required version accurately.\n\n## Usage\n\nApply the loader by adjusting your `vite.config` so `.pegjs` is automatically transformed to `.js`\n\n``` js\nimport peggyLoader from \"vite-plugin-peggy-loader\";\n\nexport default defineConfig({\n    plugins: [peggyLoader()]\n});\n```\n\nThen to use the compiled version import it like: \n\n```js\nimport * as grammer from './grammer.pegjs'\n```\n\n### PEG.js options\n\nYou can pass options to PEG.js in the config, below is the supported options:\n\n* `allowedStartRules` - The rules the built parser will be allowed to start\n  parsing from (default: the first rule in the grammar).\n\n* `cache` — If `true`, makes the parser cache results, avoiding exponential\n  parsing time in pathological cases but making the parser slower (default:\n  `false`).\n\n* `dependencies` - Parser dependencies, the value is an object which maps variables used to access the\n  dependencies in the parser to module IDs used to load them (default: `{}`).\n\n* `optimize` - Whether to optimize the built parser either for `speed` or\n  `size` (default: `speed`).\n\n* `trace` - If `true`, the tracing support in the built parser is enabled\n  (default: `false`).\n\n``` js\nimport peggyLoader from \"peggy-loader\";\n\nexport default defineConfig({\n    plugins: [\n        peggyLoader({\n            cache: false,\n            optimizeParser: 'speed',\n            trace: false,\n            dependencies: {},\n            allowedStartRules: []\n        })\n    ]\n});\n```\n\n## Change Log\n\nThis project adheres to [Semantic Versioning](http://semver.org/). \n\n## Thanks\n\n* [Victor Homyakov](https://github.com/victor-homyakov) for the propagation of the `cache` option.\n* [VladimirTechMan](https://github.com/VladimirTechMan) for the propagation of the `optimize` option and updating things to be compatible with PEG.js 0.10.0.\n* [ragtime](https://github.com/ragtime) for the propagation of the `allowedStartRules` and `trace` options.\n* [Jan Varwig](https://github.com/janv) for the Webpack 2 compatibility fix.\n* [retorquere](https://github.com/retorquere) for the propagation of the `dependencies` option.\n\n## License\n\nMIT (http://www.opensource.org/licenses/mit-license.php)\n","readmeFilename":"README.md"}