{"_id":"pug-parser","_rev":"76378","name":"pug-parser","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","dist-tags":{"canary":"6.0.0-canary-2","latest":"6.0.0"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"time":{"modified":"2021-06-03T10:24:39.000Z","created":"2015-12-12T00:04:44.499Z","6.0.0":"2020-05-25T12:19:31.636Z","6.0.0-canary-2":"2020-05-25T12:19:00.569Z","6.0.0-canary-1":"2020-05-24T23:08:00.789Z","5.0.1":"2019-06-18T09:45:06.496Z","4.0.2":"2018-03-08T16:36:06.732Z","5.0.0":"2018-03-08T16:32:32.089Z","4.0.1":"2018-03-06T13:12:30.161Z","4.0.0":"2017-09-06T15:28:13.416Z","3.0.1":"2017-08-01T15:53:46.637Z","3.0.0":"2017-06-02T12:33:32.435Z","2.0.2":"2017-01-24T01:07:18.800Z","2.0.1":"2016-06-01T05:27:17.007Z","2.0.0":"2016-05-14T17:31:59.453Z","1.0.0":"2015-12-23T03:45:42.583Z","0.0.0":"2015-12-12T00:04:44.499Z"},"users":{"mysticatea":true},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-parser"},"versions":{"6.0.0":{"name":"pug-parser","version":"6.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^2.0.0","token-stream":"1.0.0"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-parser"},"author":{"name":"ForbesLindesay"},"license":"MIT","_id":"pug-parser@6.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"a8fdc035863a95b2c1dc5ebf4ecf80b4e76a1260","size":7937,"noattachment":false,"key":"/pug-parser/-/pug-parser-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-6.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"pug-bot","email":"pug-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_6.0.0_1590409171424_0.5037510560289438"},"_hasShrinkwrap":false,"publish_time":1590409171636,"_cnpm_publish_time":1590409171636},"6.0.0-canary-2":{"name":"pug-parser","version":"6.0.0-canary-2","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"2.0.0-canary-2","token-stream":"1.0.0"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-parser"},"author":{"name":"ForbesLindesay"},"license":"MIT","readmeFilename":"README.md","_id":"pug-parser@6.0.0-canary-2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"33218d9bb5233d4dc581944f4e57b996153a1c27","size":7945,"noattachment":false,"key":"/pug-parser/-/pug-parser-6.0.0-canary-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-6.0.0-canary-2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"pug-bot","email":"pug-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_6.0.0-canary-2_1590409140354_0.3413836770441083"},"_hasShrinkwrap":false,"publish_time":1590409140569,"_cnpm_publish_time":1590409140569},"6.0.0-canary-1":{"name":"pug-parser","version":"6.0.0-canary-1","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"2.0.0-canary-1","token-stream":"1.0.0"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-parser"},"author":{"name":"ForbesLindesay"},"license":"MIT","readmeFilename":"README.md","_id":"pug-parser@6.0.0-canary-1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"ed7c1ecb2ba5ed22ea95c1228de70cc050353af9","size":7945,"noattachment":false,"key":"/pug-parser/-/pug-parser-6.0.0-canary-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-6.0.0-canary-1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"pug-bot","email":"pug-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_6.0.0-canary-1_1590361680650_0.49798907912935975"},"_hasShrinkwrap":false,"publish_time":1590361680789,"_cnpm_publish_time":1590361680789},"5.0.1":{"name":"pug-parser","version":"5.0.1","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.3","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-parser"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"1bdf628a70fda7a0d840c52f3abce54b1c6b0130","_id":"pug-parser@5.0.1","_nodeVersion":"11.14.0","_npmVersion":"lerna/3.10.8/node@v11.14.0+x64 (darwin)","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"03e7ada48b6840bd3822f867d7d90f842d0ffdc9","size":7974,"noattachment":false,"key":"/pug-parser/-/pug-parser-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-5.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_5.0.1_1560851106377_0.2786011091672238"},"_hasShrinkwrap":false,"publish_time":1560851106496,"_cnpm_publish_time":1560851106496},"4.0.2":{"name":"pug-parser","version":"4.0.2","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","licenseText":"Copyright (c) 2014 Forbes Lindesay\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\nall copies 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\nTHE SOFTWARE.","_id":"pug-parser@4.0.2","dist":{"shasum":"7b2e3311b75821486706479477ab1d34f5f817df","size":61030,"noattachment":false,"key":"/pug-parser/-/pug-parser-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-4.0.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_4.0.2_1520526966642_0.4966472221874063"},"_hasShrinkwrap":false,"publish_time":1520526966732,"_cnpm_publish_time":1520526966732},"5.0.0":{"name":"pug-parser","version":"5.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","licenseText":"Copyright (c) 2014 Forbes Lindesay\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\nall copies 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\nTHE SOFTWARE.","_id":"pug-parser@5.0.0","dist":{"shasum":"e394ad9b3fca93123940aff885c06e44ab7e68e4","size":74551,"noattachment":false,"key":"/pug-parser/-/pug-parser-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-5.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_5.0.0_1520526752047_0.685269395814972"},"_hasShrinkwrap":false,"publish_time":1520526752089,"_cnpm_publish_time":1520526752089},"4.0.1":{"name":"pug-parser","version":"4.0.1","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","licenseText":"Copyright (c) 2014 Forbes Lindesay\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\nall copies 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\nTHE SOFTWARE.","_id":"pug-parser@4.0.1","dist":{"shasum":"bd2abdf5c95871eb79127e4659695dba770f5b87","size":74540,"noattachment":false,"key":"/pug-parser/-/pug-parser-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-4.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser_4.0.1_1520341950098_0.6500607227138053"},"_hasShrinkwrap":false,"publish_time":1520341950161,"_cnpm_publish_time":1520341950161},"4.0.0":{"name":"pug-parser","version":"4.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@4.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"dist":{"shasum":"c9f52322e4eabe4bf5beeba64ed18373bb627801","size":61048,"noattachment":false,"key":"/pug-parser/-/pug-parser-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-4.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser-4.0.0.tgz_1504711692294_0.18118484946899116"},"directories":{},"publish_time":1504711693416,"_cnpm_publish_time":1504711693416,"_hasShrinkwrap":false},"3.0.1":{"name":"pug-parser","version":"3.0.1","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@3.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"dist":{"shasum":"dc0c5dd6c9c2d89da6105abbdf3d1b0fb4d39b5e","size":56654,"noattachment":false,"key":"/pug-parser/-/pug-parser-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-3.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser-3.0.1.tgz_1501602825557_0.21516787633299828"},"directories":{},"publish_time":1501602826637,"_cnpm_publish_time":1501602826637,"_hasShrinkwrap":false},"3.0.0":{"name":"pug-parser","version":"3.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@3.0.0","scripts":{},"_shasum":"37c619dd800f642187ce4d6ce1a164cdd75487a3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"dist":{"shasum":"37c619dd800f642187ce4d6ce1a164cdd75487a3","size":56649,"noattachment":false,"key":"/pug-parser/-/pug-parser-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-3.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-parser-3.0.0.tgz_1496406811330_0.513452498242259"},"directories":{},"publish_time":1496406812435,"_cnpm_publish_time":1496406812435,"_hasShrinkwrap":false},"2.0.2":{"name":"pug-parser","version":"2.0.2","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.2","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@2.0.2","scripts":{},"_shasum":"53a680cfd05039dcb0c27d029094bc4a792689b0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"dist":{"shasum":"53a680cfd05039dcb0c27d029094bc4a792689b0","size":56572,"noattachment":false,"key":"/pug-parser/-/pug-parser-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-2.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pug-parser-2.0.2.tgz_1485220036817_0.4362888887990266"},"directories":{},"publish_time":1485220038800,"_cnpm_publish_time":1485220038800,"_hasShrinkwrap":false},"2.0.1":{"name":"pug-parser","version":"2.0.1","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.0","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0","istanbul":"*"},"scripts":{"update-test-cases":"node test/update-test-cases","test":"node test && npm run coverage","coverage":"istanbul cover test"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"db9fd3c4ac5ecb0089b255cc2c0d2c9acd8ae351","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@2.0.1","_shasum":"dc2c5bbb777047e98359cd606860f75f4bfc1541","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"timothygu","email":"timothygu99@gmail.com"},"dist":{"shasum":"dc2c5bbb777047e98359cd606860f75f4bfc1541","size":58333,"noattachment":false,"key":"/pug-parser/-/pug-parser-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-2.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pug-parser-2.0.1.tgz_1464758836566_0.9555621778126806"},"directories":{},"publish_time":1464758837007,"_cnpm_publish_time":1464758837007,"_hasShrinkwrap":false},"2.0.0":{"name":"pug-parser","version":"2.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.0","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0","istanbul":"*"},"scripts":{"update-test-cases":"node test/update-test-cases","test":"node test && npm run coverage","coverage":"istanbul cover test"},"repository":{"type":"git","url":"git+https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"2ac5cde243ece0db9f008599126dbcab264d4be5","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser#readme","_id":"pug-parser@2.0.0","_shasum":"c25dc96ba3ee41a2f89e7cea370b9ee1b3dea827","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"dist":{"shasum":"c25dc96ba3ee41a2f89e7cea370b9ee1b3dea827","size":57322,"noattachment":false,"key":"/pug-parser/-/pug-parser-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pug-parser-2.0.0.tgz_1463247118752_0.8274991277139634"},"directories":{},"publish_time":1463247119453,"_cnpm_publish_time":1463247119453,"_hasShrinkwrap":false},"1.0.0":{"name":"pug-parser","version":"1.0.0","description":"The pug parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["pug"],"dependencies":{"pug-error":"^1.3.0","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0","istanbul":"*"},"scripts":{"update-test-cases":"node test/update-test-cases","test":"node test && npm run coverage","coverage":"istanbul cover test"},"repository":{"type":"git","url":"https://github.com/pugjs/pug-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"e48b274093d75c6907f91455c4b18fd77339a1ea","bugs":{"url":"https://github.com/pugjs/pug-parser/issues"},"homepage":"https://github.com/pugjs/pug-parser","_id":"pug-parser@1.0.0","_shasum":"09cf49bf3507f0243fe950cfeaae5c5edf66f425","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"09cf49bf3507f0243fe950cfeaae5c5edf66f425","size":72300,"noattachment":false,"key":"/pug-parser/-/pug-parser-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-1.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"directories":{},"publish_time":1450842342583,"_cnpm_publish_time":1450842342583,"_hasShrinkwrap":false},"0.0.0":{"name":"pug-parser","version":"0.0.0","description":"The jade parser (takes an array of tokens and converts it to an abstract syntax tree)","keywords":["jade"],"dependencies":{"pug-error":"^0.0.0","token-stream":"0.0.1"},"devDependencies":{"get-repo":"^1.0.0","istanbul":"*"},"scripts":{"update-test-cases":"node test/update-test-cases","test":"node test && npm run coverage","coverage":"istanbul cover test"},"repository":{"type":"git","url":"https://github.com/jadejs/jade-parser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"70489d7f608e2e82bf40876626d0d69693f52fcd","bugs":{"url":"https://github.com/jadejs/jade-parser/issues"},"homepage":"https://github.com/jadejs/jade-parser","_id":"pug-parser@0.0.0","_shasum":"08831eabd753590d45573247e546ac07c4e6e523","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"08831eabd753590d45573247e546ac07c4e6e523","size":72277,"noattachment":false,"key":"/pug-parser/-/pug-parser-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pug-parser/download/pug-parser-0.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":""}],"directories":{},"publish_time":1449878684499,"_cnpm_publish_time":1449878684499,"_hasShrinkwrap":false}},"readme":"# pug-parser\n\nThe pug parser (takes an array of tokens and converts it to an abstract syntax tree)\n\n[![Build Status](https://img.shields.io/travis/pugjs/pug-parser/master.svg)](https://travis-ci.org/pugjs/pug-parser)\n[![Dependencies Status](https://david-dm.org/pugjs/pug/status.svg?path=packages/pug-parser)](https://david-dm.org/pugjs/pug?path=packages/pug-parser)\n[![DevDependencies Status](https://david-dm.org/pugjs/pug/dev-status.svg?path=packages/pug-parser)](https://david-dm.org/pugjs/pug?path=packages/pug-parser&type=dev)\n[![NPM version](https://img.shields.io/npm/v/pug-parser.svg)](https://www.npmjs.org/package/pug-parser)\n\n## Installation\n\n    npm install pug-parser\n\n## Usage\n\n```js\nvar parse = require('pug-parser');\n```\n\n### `parse(tokens, options)`\n\nConvert Pug tokens to an abstract syntax tree (AST).\n\n`options` can contain the following properties:\n\n- `filename` (string): The name of the Pug file; it is included in the produced AST nodes and error handling, if provided.\n- `plugins` (array): An array of plugins, in the order they should be applied.\n- `src` (string): The source of the Pug file; it is used in error handling if provided.\n\n```js\nvar lex = require('pug-lexer');\n\nvar filename = 'my-file.pug';\nvar src = 'div(data-foo=\"bar\")';\nvar tokens = lex(src, {filename});\n\nvar ast = parse(tokens, {filename, src});\n\nconsole.log(JSON.stringify(ast, null, '  '))\n```\n\n```json\n{\n  \"type\": \"Block\",\n  \"nodes\": [\n    {\n      \"type\": \"Tag\",\n      \"name\": \"div\",\n      \"selfClosing\": false,\n      \"block\": {\n        \"type\": \"Block\",\n        \"nodes\": [],\n        \"line\": 1,\n        \"filename\": \"my-file.pug\"\n      },\n      \"attrs\": [\n        {\n          \"name\": \"data-foo\",\n          \"val\": \"\\\"bar\\\"\",\n          \"line\": 1,\n          \"column\": 5,\n          \"filename\": \"my-file.pug\",\n          \"mustEscape\": true\n        }\n      ],\n      \"attributeBlocks\": [],\n      \"isInline\": false,\n      \"line\": 1,\n      \"column\": 1,\n      \"filename\": \"my-file.pug\"\n    }\n  ],\n  \"line\": 0,\n  \"filename\": \"my-file.pug\"\n}\n```\n\n### `new parse.Parser(tokens, options)`\n\nConstructor for a Parser class. This is not meant to be used directly unless you know what you are doing.\n\n`options` may contain the following properties:\n\n- `filename` (string): The name of the Pug file; it is included in the produced AST nodes and error handling, if provided.\n- `plugins` (array): An array of plugins, in the order they should be applied.\n- `src` (string): The source of the Pug file; it is used in error handling if provided.\n\n## License\n\n  MIT\n","_attachments":{},"license":"MIT"}