{"name":"@starptech/rehype-minify-whitespace","version":"0.2.3","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":{"ava":"^0.25.0","hastscript":"^4.1.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":"3cecd7a077488a9598dc1f6ecc50451d9693853c","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.2.3.tgz","_id":"@starptech/rehype-minify-whitespace@0.2.3","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-SKOUGLRwMPvuUu7aMIYkiK0QJYuRO1GCRKAWdfVn+1sEeUaPsll5vdcU3xaxAXPvrvuthWiYZ3k5BhoFEXnmHA==","shasum":"16f9d8f70431dd6ab080b7617ca0b38fd98d2ccd","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.2.3.tgz","fileCount":5,"unpackedSize":6315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyav2CRA9TVsSAnZWagAAIIIP/iHgTAg1vanJ0YYpysFx\nEJckxBzENadbejGi6zcRxV3ixiyLLz5erc3Q3GojbxDpGbeuE8eW7MkgzpFp\nU82/81qvmyOH3B8t9z0cgY48sMdubK3odPHeRxLylcXNvA4ScF1xY+HHfumQ\nEJ03f3HFOQhXIIO3QKT9yZuz5XHNyZCZKFcA0TyxQ6UIeEGCpXNvFz8jwzYg\neSPDSWLW2HwwacCzBIXMMUu+YNeDk8k5399pVyVcBzH5dsIxolL7H/7g5o2G\npVWimoraxeyTP+yXoMD1Hw75QzP37GvhE7htUtABscbXoq4b1md1Uh97ctMi\nzduXpbKr7/fi1obdWNe3k9hIOuoOxXNLbyRskn7dH1ot10ey+FojEBm9cxDE\nz5YjvoFYgZ9CktYgK8b4MCQJq1FRjwicb9ZFfAcot45kpkOWFf9V4TH1oSMG\nMxV7OJVzxxTeLV0rrpBZyM+TU8O8JykypshgDo/96lf3yHplW9aRE7/ovQdi\nFr2BF/IiyrR+xQmWcDmsyyq62JhIgbWJh9Y14YkmJLmACdxtgW3sHlMDwcdp\nyoD6b/WKyKMmpH5aBv9QPiRkKjg4XuQ4b3ihZ0vT90JYLUA7JCmU8ZU6P2Ek\nFZqRTFKPOHUWp9mCliS1QZPe0/SYixWdnPpz/wWWC+xP0Rv23yLjo/n7+p6i\nVTpF\r\n=hWab\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxaLdTsXHCzwBHTI32Zgl3cPoKnUMQkUkka47QPNWAbAiEA6Q0B+HgJJErEq+RIJ6JqoOVqbJehieA2Ytf2jVrNo70="}],"size":2827,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.2.3.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.2.3_1539943413135_0.5520343644552763"},"_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":1539943413330,"_cnpm_publish_time":1539943413330,"dist-tags":{"latest":"0.10.0"}}