{"name":"@starptech/rehype-minify-whitespace","version":"0.8.17","description":"Collapse whitespace.","main":"index.js","keywords":["prettyhtml","collapse","whitespace"],"author":{"name":"Dustin Deus","email":"deusdustin@gmail.com","url":"http://www.starptech.de"},"license":"ISC","dependencies":{"collapse-white-space":"^1.0.4","hast-util-embedded":"^1.0.1","hast-util-has-property":"^1.0.1","hast-util-is-body-ok-link":"^1.0.1","hast-util-is-element":"^1.0.1","html-whitespace-sensitive-tag-names":"^1.0.0","unist-util-is":"^2.1.2","unist-util-modify-children":"^1.1.2"},"devDependencies":{"@starptech/prettyhtml-hastscript":"^0.8.17","ava":"^1.2.1","nyc":"^13.0.1","rehype":"^6.0.0"},"scripts":{"test":"ava","test-coverage":"nyc --reporter lcov ava"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"publishConfig":{"access":"public"},"gitHead":"f51b884554e7d3f7ae31fc3245f89e606334109a","_id":"@starptech/rehype-minify-whitespace@0.8.17","_nodeVersion":"8.10.0","_npmVersion":"lerna/3.13.0/node@v8.10.0+x64 (linux)","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-hrrgNAYknfHw9lBWO0+qHtJJs0zMHwTOCIBTCk2FGyeg+SEKh4dJdNRUfujPkH5qNj7skTUHWtOKL5PaWRT64w==","shasum":"3122c26f4ea5171c7b2bad2f3b1f16f85dd9d527","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.8.17.tgz","fileCount":5,"unpackedSize":6464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqjbeCRA9TVsSAnZWagAAfxoP/i7tYtme/hTEVJWrWcUD\njVtszt8cQA7mV9TLInVeukVkMd4inuXTuji56YUrix9+yC7jhGe5uZpPJx9h\nJHsUIXb650HOuA9QvG8ML8qQoAgn6yqcr2qrGzaCt3urZSuDVvvbn9r/pb4N\nTgoB6YXWMcCHQ0Yidtn3mZj4Ckw/HWmLHF0/dMl719uIcKAb0eiE7X6p23dx\ntF/OlQ+xgOkTbLZFxmJLybO6wwAU3WpqiwXH7o7PVEAC9197z7kFtSyIgjKB\nnGrjxQfLwXOjjlk4GMxp5GMC2nGo+yi+RtECONympJoqSQYyU5wMbRjO3/HK\nwUaw5nmwtdYa4sV0Mr0TE/U2Z0Tg8vb1sKzUgwGbUq4xbL3IkOXwtiJLvd6c\ns8Wz1l818SYfYERxqk665jerYV6ye3eGnOrllbvVBGg3TdiJ59EctEoyuvRZ\nNgYe+8UdOtl7epLSmQGv9/i5K/0jDFM/LO9WewpUYiwnaJK5dyi/pKD60y95\nbiEZ2pekVcN9JeyB/f+UbjRtkabckB5UJqnvvWP9CfLsGXAzc4MxBjVrDZ2n\ngl7EsBwuG4R8V/kcS5pxT4HrcNC695C4lBky6wlr5qCDK3nWRVKl6zYnDr5e\ntuc4/DA09w7oc8bjs5OK+QnToX5A6tDTTnsXiHR2rm9WBNqg+mpGOH82AJWZ\nt9qo\r\n=MjnS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeKftWjTcKwmnMKHjBy9smAyYMiqoOhRiftEdidtm7fAIgMfwdGuhX4Fluui0hbtZFykvN0aCnXwDvJibh3+ZWhz4="}],"size":2868,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.8.17.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.8.17_1554659037528_0.7723295947962516"},"_hasShrinkwrap":false,"readme":"# @starptech/rehype-minify-whitespace\n\nCollapse whitespace.\n\nNormally, collapses to a single space. If `newlines: true`,\ncollapses white-space containing newlines to `'\\n'` instead\nof `' '`.\n\n## Installation\n\n```\nnpm install --save @starptech/rehype-minify-whitespace\n```\n\n## Usage\n\n##### In\n\n```html\n<h1>Heading</h1>\n···→ →···foo···→\n<p><strong>This</strong> and <em>that</em></p>\n```\n\n##### Out\n\n```html\n<h1>Heading</h1>\nfoo\n<p><strong>This</strong> and <em>that</em></p>\n```\n\n## Api\n\n###### `node.data.ignore`\n\nWhen this property is `true` the node is skipped for whitespace handling.\n\n###### `node.data.preserveWhitespace`\n\nWhen this property is `true` the node is skipped for whitespace handling.\n\n## Caveats\n\nThe implementation is a modified version of [**Rehype rehype-minify-whitespace 2.0.3**](https://github.com/rehypejs/rehype-minify/tree/master/packages/rehype-minify-whitespace)\n","publish_time":1554659037649,"_cnpm_publish_time":1554659037649,"dist-tags":{"latest":"0.10.0"}}