{"name":"pug-filters","version":"4.0.0-canary-2","description":"Code for processing filters in pug templates","keywords":["pug"],"dependencies":{"constantinople":"^4.0.1","jstransformer":"1.0.0","pug-error":"2.0.0-canary-2","pug-walk":"2.0.0-canary-2","resolve":"^1.15.1"},"devDependencies":{"jstransformer-cdata":"^1.0.0","jstransformer-coffee-script":"^1.1.1","jstransformer-less":"^2.3.0","jstransformer-markdown-it":"^2.0.0","jstransformer-stylus":"^1.5.0","jstransformer-uglify-js":"^1.2.0","pug-lexer":"5.0.0-canary-2","pug-load":"3.0.0-canary-2","pug-parser":"6.0.0-canary-2"},"repository":{"type":"git","url":"https://github.com/pugjs/pug/tree/master/packages/pug-filters"},"author":{"name":"Forbes Lindesay"},"license":"MIT","readme":"# pug-filters\n\nCode for processing filters in pug templates\n\n[![Build Status](https://img.shields.io/travis/pugjs/pug-filters/master.svg)](https://travis-ci.org/pugjs/pug-filters)\n[![Dependencies Status](https://david-dm.org/pugjs/pug/status.svg?path=packages/pug-filters)](https://david-dm.org/pugjs/pug?path=packages/pug-filters)\n[![DevDependencies Status](https://david-dm.org/pugjs/pug/dev-status.svg?path=packages/pug-filters)](https://david-dm.org/pugjs/pug?path=packages/pug-filters&type=dev)\n[![NPM version](https://img.shields.io/npm/v/pug-filters.svg)](https://www.npmjs.org/package/pug-filters)\n\n## Installation\n\n    npm install pug-filters\n\n## Usage\n\n```\nvar filters = require('pug-filters');\n```\n\n### `filters.handleFilters(ast, filters)`\n\nRenders all `Filter` nodes in a Pug AST (`ast`), using user-specified filters (`filters`) or a JSTransformer.\n\n### `filters.runFilter(name, str[, options[, currentDirectory]])`\n\nInvokes filter through `jstransformer`.\n\nThis is internally used in `filters.handleFilters`, and is a lower-level interface exclusively for invoking JSTransformer-based filters.\n\n`name` represents the name of the JSTransformer.\n\n`str` represents the string to render.\n\n`currentDirectory` is used when attempting to `require` the transformer module.\n\n`options` may contain the following properties:\n\n- `minify` (boolean): whether or not to attempt minifying the result from the transformer. If minification fails, the original result is returned.\n\n## License\n\n  MIT\n","readmeFilename":"README.md","_id":"pug-filters@4.0.0-canary-2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-pjovVjNWe8ePQgme5S9Rgx6MH7HqC9Uf31KNMM8EAAnudDOiauPp7oCr+AMxqaSfY762PViQURXUJeEjTAb91Q==","shasum":"a757a6dd8f6a1a3094338a666f54339b982e8aea","tarball":"http://registry-npm.ywwl.com/pug-filters/download/pug-filters-4.0.0-canary-2.tgz","fileCount":7,"unpackedSize":9629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey7e/CRA9TVsSAnZWagAAHFIP+gLRsKZ3Lo04sAM6hwEg\n8Nu2JMxdQ7foxddjnDL+tsvA6YMN/xwBu4ODYHlX0P1Lx9zKVzulah+51E8m\n/w/gnDhgNBGU8Cvr5a54H24W3klbjjDcdTvIXoEhKUUmKSG5ouET6O8++k8R\nj7Ep37S9AUuuDZeqpBVw4jhlTTJFph77C3BzoxF6KBQM6CgimGqzEhP7Keoq\nCU/LayiZLm9JiVww9X/Ec/2kNZXjxBbwwoZ35K4kQBvQTlDRXoy5/FcXMc4C\n3A15g2GzLEnqs4HsFvUHkNII11VPOOyo+xwBetVSKahT0gLPE5698da9JWPV\nhXRqZi8654DjNGM41pXVuMDlFovGxFe8qbj7LRE+kkm26H5t1dm41Gji3X7u\nxeUU8AS7jTvoLKD24L7ohmJQpsBwiMlvRZVESjDe33nkFzLCkQoUcbhlHrb8\nKjrtPJ6/xioBpKH9aQnZdCcXTIP+0bzEbFzFiML7etW79t+AYg2k4+VpqRXe\ngpCRsMYMwcdHPGFVUliAOG3RB1WsNcCazMjwV9qQvKCLtsoS5xQQg+bHDrzj\njx830QAXn2vKHe0ddT5DCDhPX3N3SRIpIW8IEwLiHwkHjwer9+GPzWL176Ll\nMGEpvcGcKCeSkZQfHkyv11bIUgeBtoMDu2y+MwpWwlj0Ic6fWD1XqCUJUbz3\ntDa6\r\n=0/Wu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlnTmTnhty9BkYSOkbaLq+vm1Jd19xTIVCJh22Lnbx3gIhAKL7pTyO3hVklvItJh+YJL+ifyPGejeo6NyMz59gwowf"}],"size":3694,"noattachment":false,"key":"/pug-filters/-/pug-filters-4.0.0-canary-2.tgz"},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"pug-bot@rollingversions.com","name":"pug-bot"},{"email":"timothygu99@gmail.com","name":"timothygu"}],"_npmUser":{"name":"pug-bot","email":"pug-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pug-filters_4.0.0-canary-2_1590409151235_0.5425801855290011"},"_hasShrinkwrap":false,"publish_time":1590409151329,"_cnpm_publish_time":1590409151329,"dist-tags":{"canary":"4.0.0-canary-2","latest":"4.0.0"}}