{"dist":{"shasum":"bb5e76283651c83d236f882586277c094eb3956e","tarball":"https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-2.0.0-canary-2.tgz","fileCount":5,"integrity":"sha512-QV5N+fIOoBUhIV8u1a7KpRrW5mUqrVLTJUiHDDVVZGkoj+5V42TSw7L50ljb8XqqeDdFjKHBRMsPGP8Op8blNw==","signatures":[{"sig":"MEUCIEG80hPdUf1QiL5OZkOvnXc9873F5rngEDg6IOXT5oFoAiEA3xyB46iZSVo9q4z8s4jLR7DpNbb9N50DtRz/7FUboeY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey7fFCRA9TVsSAnZWagAAlcoQAJaLFah0pmp0lqFvfw6w\n7bDFZUasIkGHLzs6uK6BkcPqIsNvgFFQgaNIEwQ2+eRDM4xNErcSvRNQ/P2i\nSYCWc5EkoRfD83yp86a6Uw02uj5F6SGMA3ffj5j2FhLpCMyNEZaj21Uz8iRi\nc3veO54ygwVVpvHtWekGx7OxKKThWuY3saZ8mmY9P9CEfa+bOwN9o6nQoCjF\nKedxbEsNY2usI9rBPmXlAlsSUqNXmE3+4ilAiikjEooZYEoV3DLvxXMhVVX4\nw9oayTfTQwaV+HCeumIpllPHCIwKuPnfv9eP118QpOInpdlaEya1S1onF6l3\nhGA775+CmMv//4F7yTbt1DUm88nc9v22RUkT4oPeKOjg9tBNXmMPn76m35W0\nDsrZyRCQY+TxeUeBwxqVJeo1VTXQ3TEvMV+2HhPFsXLWlA/xKsnSnDQw6yWU\nv1ZT1Th0QA8xCRQk9waFnaDlj6n+QnzNI+nN7nWEnpiiqcOQfov/wRI8WVFM\nKRElYrZ98ZHr6H0VptH2uoYoHRrTDX6RHT8eBliHO5l90LDkw5AdytHM8AEP\nqp8H7qmonhb6la1k1rK8ClenJZgT4GXaKkYUeX9g8IZE23uEbjhCFESPCQLu\nK+LZDzkbhyuY4sKuSWLQKZbkJjZP6KfJES02Q8V3WuR6Ztn9UXjx9IwEvwDo\nnVjB\r\n=QzZt\r\n-----END PGP SIGNATURE-----\r\n"},"name":"pug-strip-comments","author":{"name":"Timothy Gu","email":"timothygu99@gmail.com"},"readme":"# pug-strip-comments\n\nStrips comments from Pug token stream\n\n[![Build Status](https://img.shields.io/travis/pugjs/pug-strip-comments/master.svg)](https://travis-ci.org/pugjs/pug-strip-comments)\n[![Dependencies Status](https://david-dm.org/pugjs/pug/status.svg?path=packages/pug-strip-comments)](https://david-dm.org/pugjs/pug?path=packages/pug-strip-comments)\n[![DevDependencies Status](https://david-dm.org/pugjs/pug/dev-status.svg?path=packages/pug-strip-comments)](https://david-dm.org/pugjs/pug?path=packages/pug-strip-comments&type=dev)\n[![NPM version](https://img.shields.io/npm/v/pug-strip-comments.svg)](https://www.npmjs.org/package/pug-strip-comments)\n\n## Installation\n\n    npm install pug-strip-comments\n\n## Usage\n\n```js\nvar lex = require('pug-lexer');\nvar stripComments = require('pug-strip-comments');\n\nvar tokens = lex('//- unbuffered\\n// buffered');\n// [ { type: 'comment', line: 1, val: ' unbuffered', buffer: false },\n//   { type: 'newline', line: 2 },\n//   { type: 'comment', line: 2, val: ' buffered', buffer: true },\n//   { type: 'eos', line: 2 } ]\n\n// Only strip unbuffered comments (default)\nstripComments(tokens, { filename: 'pug' });\n// [ { type: 'newline', line: 2 },\n//   { type: 'comment', line: 2, val: ' buffered', buffer: true },\n//   { type: 'eos', line: 2 } ]\n\n// Only strip buffered comments (when you want to play a joke on your coworkers)\nstripComments(tokens, { filename: 'pug', stripUnbuffered: false, stripBuffered: true });\n// [ { type: 'comment', line: 1, val: ' unbuffered', buffer: false },\n//   { type: 'newline', line: 2 },\n//   { type: 'eos', line: 2 } ]\n\n// Strip both (if you want Pug VERY clean)\nstripComments(tokens, { filename: 'pug', stripBuffered: true });\n// [ { type: 'newline', line: 2 },\n//   { type: 'eos', line: 2 } ]\n```\n\n## License\n\nMIT\n","license":"MIT","_npmUser":{"name":"pug-bot","email":"pug-bot@rollingversions.com"},"keywords":["pug"],"repository":{"url":"https://github.com/pugjs/pug/tree/master/packages/pug-strip-comments","type":"git"},"_npmVersion":"6.14.4","description":"Strip comments from a Pug token stream (from the lexer)","directories":{},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"pug-bot","email":"pug-bot@rollingversions.com"},{"name":"timothygu","email":"timothygu99@gmail.com"}],"_nodeVersion":"12.16.3","dependencies":{"pug-error":"2.0.0-canary-2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"line-json":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pug-strip-comments_2.0.0-canary-2_1590409157475_0.15346219143545214","host":"s3://npm-registry-packages"},"_id":"pug-strip-comments@2.0.0-canary-2","version":"2.0.0-canary-2"}