{"_id":"nearley-loader","_rev":"10-795234ca7e91aac50189746ba42c4b51","name":"nearley-loader","description":"Nearley parser rules loader for webpack","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"nearley-loader","version":"0.0.1","description":"Nearley parser rules loader for webpack","main":"index.js","repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"keywords":["loader","webpack"],"author":{"name":"Kozily"},"license":"MIT","bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"homepage":"https://github.com/kozily/nearley-loader#readme","gitHead":"d8bcb1ba9fb5e59433c45fdce96867dc853beca2","_id":"nearley-loader@0.0.1","scripts":{},"_shasum":"f2051e8616549886a924d687e018e16b9f133989","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"kozily","email":"and2arana@gmail.com"},"dist":{"shasum":"f2051e8616549886a924d687e018e16b9f133989","tarball":"https://registry.npmjs.org/nearley-loader/-/nearley-loader-0.0.1.tgz","integrity":"sha512-3WILK+O8i5PcYdj4d26+Pbpvazv0Vv1IDKTFuh3XF2XWsbbuQJtRBMSYgiAiU68H1tuBtnOW7TnBCnL+R7HTkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFW+WTKV2E6CEjQUtqs6KvfvfWi6lblXi68HQZTFFpXyAiBNp8wpakqstODvy4o4RnR/Ud9kVjNrNSURt20t8K9yQw=="}]},"maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/nearley-loader-0.0.1.tgz_1474487592882_0.8846106482669711"},"directories":{},"deprecated":"Use nearley-loader@^1.0.0 for nearley@^1 and nearley-loader@^2.0.0 for nearley@^2.0.0"},"0.0.2":{"name":"nearley-loader","version":"0.0.2","description":"Nearley parser rules loader for webpack","main":"index.js","repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"keywords":["loader","webpack"],"author":{"name":"Kozily"},"license":"MIT","bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"homepage":"https://github.com/kozily/nearley-loader#readme","gitHead":"15e87a5da69a1945f3c2534020234ab9f9254606","_id":"nearley-loader@0.0.2","scripts":{},"_shasum":"a7492b57f0c8f34ff86ff4c6ce607a8706a212ea","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"kozily","email":"and2arana@gmail.com"},"dist":{"shasum":"a7492b57f0c8f34ff86ff4c6ce607a8706a212ea","tarball":"https://registry.npmjs.org/nearley-loader/-/nearley-loader-0.0.2.tgz","integrity":"sha512-VioGx5ROT9lVWxNymzQY6FfGl/We3YnR+0AeUjDgJJU5prW9B4sqctvKN0DJ2ZDtKQk9IkRVazhfKl4FpZsDXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZCkA1oTtPIZdCt+URKxWYz47bA4Dwf+AC+u220ATb6AiBHa00Rq5ezwsV134x8kORYQtzjwKUdGSL8FcRlf9Vq+g=="}]},"maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/nearley-loader-0.0.2.tgz_1474490278165_0.5555747447069734"},"directories":{},"deprecated":"Use nearley-loader@^1.0.0 for nearley@^1 and nearley-loader@^2.0.0 for nearley@^2.0.0"},"0.0.3":{"name":"nearley-loader","version":"0.0.3","description":"Nearley parser rules loader for webpack","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"keywords":["loader","webpack"],"author":{"name":"Kozily"},"license":"MIT","bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"homepage":"https://github.com/kozily/nearley-loader#readme","peerDependencies":{"nearley":"^2.11.0"},"gitHead":"4c611830b06a99164aacbf8454afb514557f6d23","_id":"nearley-loader@0.0.3","scripts":{},"_shasum":"b3f11c893cae6e69dbdd4b6ddcb1f7a4762e6845","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.4","_npmUser":{"name":"kozily","email":"and2arana@gmail.com"},"dist":{"shasum":"b3f11c893cae6e69dbdd4b6ddcb1f7a4762e6845","tarball":"https://registry.npmjs.org/nearley-loader/-/nearley-loader-0.0.3.tgz","integrity":"sha512-C5H868H2vmORWXZG0wsvlPZ7b4zn3U2FywILdb5AIznIlPwuOv8gMA6BqiNTfHpSJZwbTGJVzko+az0ZN7Yj7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVjwqUG/u/5OpcpnjE9Fp+MnhQrA/P0MI7dM3PPjLXzwIhAKK53XQikicWRdOgeUVkBcvj39fvook16wSgWbszFjeg"}]},"maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nearley-loader-0.0.3.tgz_1508603332654_0.7657244834117591"},"directories":{},"deprecated":"Use nearley-loader@^1.0.0 for nearley@^1 and nearley-loader@^2.0.0 for nearley@^2.0.0"},"1.0.0":{"name":"nearley-loader","version":"1.0.0","description":"Nearley parser rules loader for webpack","main":"index.js","repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"keywords":["loader","webpack"],"author":{"name":"Kozily"},"license":"MIT","bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"homepage":"https://github.com/kozily/nearley-loader#readme","peerDependencies":{"nearley":"^1.0.0"},"gitHead":"11adda14c1bb7f3bee58f81949983a9379175ae2","_id":"nearley-loader@1.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"kozily","email":"and2arana@gmail.com"},"dist":{"integrity":"sha512-riEluOaMOTJMNZnghrvAKAk3xY5pdLUcDFqshRRr6KVzTy4kD5cRb5L7BgO4E9SjSZAASxtOd6rQoe77Nzjhgw==","shasum":"25cf0cd84c9c0d86a19effeaef5381f35f1fc31f","tarball":"https://registry.npmjs.org/nearley-loader/-/nearley-loader-1.0.0.tgz","fileCount":4,"unpackedSize":3204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmSz92eqrvX2ZVDQ+idPI+8GDhAS4WTus5XOSRMiwRMwIhAMaSk25JlQbKHOlmKb1oFH+zRo1D12a0PcCITv21gsq8"}]},"maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nearley-loader_1.0.0_1520389107129_0.213320806951949"},"_hasShrinkwrap":false},"2.0.0":{"name":"nearley-loader","version":"2.0.0","description":"Nearley parser rules loader for webpack","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"keywords":["loader","webpack"],"author":{"name":"Kozily"},"license":"MIT","bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"homepage":"https://github.com/kozily/nearley-loader#readme","peerDependencies":{"nearley":"^2.0.0"},"gitHead":"925174c6df05aa513776daf7a7d0175945f09ef1","_id":"nearley-loader@2.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"kozily","email":"and2arana@gmail.com"},"dist":{"integrity":"sha512-kkUlMrkLWMoQPlOVmv7a8aHFEiTOShPb1H+CkvJrDMYpMCqnQUpfJgViGFlh0wufMQlGcawPzebcng6KnDJEdg==","shasum":"8d75fd2ab3ca9f6153ae099b2bf18f8d5605d203","tarball":"https://registry.npmjs.org/nearley-loader/-/nearley-loader-2.0.0.tgz","fileCount":5,"unpackedSize":4126,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGyuUbdpEw0pmGdOz1PQ+PNcZzXXlhoMA/tICzHrJ8wwIhALeHRvRifIs5YwvteRtSInTxwaW8wWKjS3Oi57ZP2Nfg"}]},"maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nearley-loader_2.0.0_1520389503774_0.2574676192376506"},"_hasShrinkwrap":false}},"readme":"# nearley-loader\n\nThis package is a standard [webpack loader](https://webpack.js.org/loaders/)\nwhich allows you to load [nearley](https://github.com/Hardmath123/nearley)\nparser specification files as parser rules directly from webpack.\n\nThis branch contains support for the latest nearley version, currently\n`nearley@^2.0.0`. For `nearlet@^1.0.0` check the `nearley1` branch in this\nrepo.\n\n## Installation\n\nYou need to install both `nearley` and `nearley-loader`, since `nearley` is a\npeer dependency of this package. The major version of the `nearley-loader`\npackage must match the installed version of `nearley`, so if you install\n`nearley@2.13.0`, then you need to install `nearley-loader@^2.0.0`.\n\n## Usage\n\nJust configure webpack to handle nearley files with this loader:\n\n```javascript\nmodule: {\n  rules: [\n      {\n        test: /\\.nearley$/,\n        use: [\n          'nearley-loader',\n        ],\n      },\n  ]\n}\n\n```\n\nIf using with `create-react-app` or any other pre-configured webpack, be sure\nthat the `.ne` extension (or whatever file extension you use above) is not\naffected by another loader.  For instance, `create-react-app` will apply a\nurl-loader to any file extension it doesn't recognize.\n\nOnce you've done that, you can now require nearley files in your javascript\nmodules and you'll get the compiled parser rules:\n\n```javascript\nimport { Parser, Grammar } from 'nearley';\nimport grammar from './grammar.ne';\n\nconst parser = new Parser(Grammar.fromCompiled(grammar));\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2016 Kozily\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","maintainers":[{"name":"kozily","email":"and2arana@gmail.com"}],"time":{"modified":"2022-06-20T23:24:49.246Z","created":"2016-09-21T19:53:13.512Z","0.0.1":"2016-09-21T19:53:13.512Z","0.0.2":"2016-09-21T20:37:59.968Z","0.0.3":"2017-10-21T16:28:52.803Z","1.0.0":"2018-03-07T02:18:27.752Z","2.0.0":"2018-03-07T02:25:03.973Z"},"homepage":"https://github.com/kozily/nearley-loader#readme","keywords":["loader","webpack"],"repository":{"type":"git","url":"git+https://github.com/kozily/nearley-loader.git"},"author":{"name":"Kozily"},"bugs":{"url":"https://github.com/kozily/nearley-loader/issues"},"license":"MIT","readmeFilename":"README.md"}