{"name":"@starptech/rehype-minify-whitespace","version":"0.5.0","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.5.0","ava":"^0.25.0","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":"316bf4726c2a35ca3fcf5172e46a05936908f173","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.5.0.tgz","_id":"@starptech/rehype-minify-whitespace@0.5.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-de1WcqOU2bVQu5pZ29zT2JTOmAD7iBkyBnXy3gb2AdWobrUQZ9cqK8eSlfdeDWgwGFaEzUgDuMJNjRRcVYT+EQ==","shasum":"94cc720d265ea4cacfe7f867c62e861b77cd2390","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.5.0.tgz","fileCount":5,"unpackedSize":6210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1eUHCRA9TVsSAnZWagAAHQoP/Rwe17Isw8cQv14izPnK\ndeOHEgdfOocdLiUr7zNIUBElSnuGE9uHlDiiSzf4Ip+pn+XfhVIjeNOOtVOV\njThbk6v2//0Geg7zxEo5tqyvYGkEunW6oaDkquviQZIlnm1PGFFPGmJ46vR6\nvxP/1cMGwy/0VUXR1xXY+K8DbGQlMWKkBEGQGkjcbgEHc0vXFWHpT/ZjJ2GW\nesYF3k9ex9paQrsB6fYmJfT5wpGB0KcVE8fLhrW3KuLhan7+NFP10Y3PmRtR\nRK3ke16ycJrIdBmvY/GJ7GH2S87L9FWnkAS4DrUh+wITd7CvbOZiv2IptIB+\nn/ZHi80Qlc+jD+p7hDW6AmgkZz+4D1ZM+5HwEQGS/vyEgMr65HOkvpfPeaSM\nIk8P9MZBbE4RJPaft9Jhd6w31AhsLfUuajogKEvHXL4nZqLO7s3n2KiNI2X9\nSC4XS4yISmpncnsBRhjxOe9tFU9mKNOidmI1d6ZdTDLF9NunppqjtqL1Mnit\ny5k9wIcKZ17dVc+q8RV3gEM1Jck89HVYax/x5bFw195sQ8GjYNWPu0MU/NtJ\naHGpPnL16ryxnKUklWMkvIbFliy6r14c/PUkNAk8+gRNeCvv0+WQ83PCZFIV\nZ9xzDdF2279PR4MYO8yP+Ticm5uFaTDlPd3WYh1CKc0fgl+pnpGhnnYHxcqk\nBLZi\r\n=ICWf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmWaduIEnM18TiywjRS3Z82T8HfAkCRM4GD/gHfqzyHAiEAxSZ17r9kaE0DO6ylam6aeZcHd51uwBHzP9Upb4T0A2E="}],"size":2807,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.5.0.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.5.0_1540744454631_0.053656571782930484"},"_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":1540744454774,"_cnpm_publish_time":1540744454774,"dist-tags":{"latest":"0.10.0"}}