{"name":"@starptech/rehype-minify-whitespace","version":"0.8.13","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.10","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":"123afe074a4e23593641686f5c7b6804087d125f","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.8.13.tgz","_id":"@starptech/rehype-minify-whitespace@0.8.13","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-1TBrCznHU0IVby5LtSF8NVtz76RaKgQDRmZWOVSnVhJneRABCtW+GiaSf35J9Wk4DNubu+gQ33ysGdIi45k9zg==","shasum":"a8d2d9551ada471e3f19aca529201306682277f8","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.8.13.tgz","fileCount":4,"unpackedSize":5922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEuS6CRA9TVsSAnZWagAAsD0QAJ5MsnihQ6TmN0Lr84op\nkSYi0YELIdXhdwWA0XDp4jIKq1BwPF79uaFkFb9v+F+yr/DdVmpoHMWksrKr\nt1Yz1Yo6lgbhd1iL5P71NBbmg3hL+9qSGO14k3LXuadDgFfh6918vxLRUZzq\nlLANSyMtcb2wUbsGSh7Dij4Fea9q5Kjmgge80HWCSqjD3/PD0IDk1LIGNjwP\nKtJ/tQy4FO3E1G2QMHbzMthGG9U41lsG3QA3bhQ3FgP3UaYzhE1wAkgqkUns\npok18HpRPgRP0vx78VT3p07gKTM3JSqh7UsV5Fu2vQiajhvM2HDJLP3glWpW\na/T1faIPjidjK8L55QR2p6ykizia0p4CitbVpBXT5pvzYac8SsDd+a1aR3T2\nEKMtW/99KZGFINPlmy1+Lh4DWoCOeUt5Lr02Rcqz/HesfC1zaivNvKkVf4NN\n+Aodk/tDywOQ+LP1ZDwnsGra61mFnQQkx/+OCo30+KJrPII0oI151yQCoSRN\n5YnIE8WjhJUA/EGSdCtW+DchtyO2aoJ6YApZud+XiOQFS+bZAcySgIM9ENrI\nlKzll6qbahcNSF8PNBdFQXxd8J3pyjK/PMh67PQM2Ws9T052NZYFkHBwcyV+\nRxd3ngzmdkDm6p/GQIOTAvrnr4K56AKpmSnKu3dQaWiQtFbTekirjzUsTq0x\nC30J\r\n=4r7y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3LCu03zsyOV2zApkuDyZu7pn+mH37KMm46OfeohzLnAiEAgmlfXlOO4hxO3F5wggf2FOwXYRkapopk1HaKZ/E90EY="}],"size":2627,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.8.13.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.8.13_1544742074097_0.8101643820860571"},"_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":1544742074242,"_cnpm_publish_time":1544742074242,"dist-tags":{"latest":"0.10.0"}}