{"name":"@starptech/rehype-minify-whitespace","version":"0.4.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.4.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":"cb672b4cd93076864b9aecb210367101d296b6b9","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.4.0.tgz","_id":"@starptech/rehype-minify-whitespace@0.4.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-pSWWOQToGjAXfMEK7lnj7uTzlSZd101icbfIpWfGmuGEXkOTvHJbCCtwnnZar6oHqoMUVLJ8UR8hOjYJYdwF+Q==","shasum":"6687a3c0e585fae7467632b636a78654e0a75bc5","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.4.0.tgz","fileCount":5,"unpackedSize":6337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0208CRA9TVsSAnZWagAAWooQAI8hDOlLuNMkV+bdSxDV\npt4BDc/1iRCIP0O+iiAmrOGUhAUofPl1DDFcCXnCy9auOFsi+k9c+69UjUbY\niYQgW+fKcsNdi50G1OJtyifiHbkBq0TlFOYJRTrPKuP18skUigViu78xuo6O\n0kfseh5UVuVYlGmO1w+zPQwuX00i/4fev13w/HP2MS3wTRecZOy1fCmHiD3t\nupC1HnEvO//WTR1M9fBfiHHXDrFv9oXfgyeAHfsfAFiAImh7wf9XNIKFroqG\n2lTqNZ7cJgYPVqw66ZrPvkX/0mhWOITNewUnC8zgyNOF3FL8cCn4SCDMnlBL\nPP+rQUKrPaN2Ms8dbTph+WaNGBch0J9gm8uejfSMNNZ1UNGAa5NbcXm2hotz\n5Ffs7wufIcRxAwqt7mNPNB1o58UwwQ6818R0cgXbrtFi+pJwuph0xwVtQ5BK\npxgMty6Cgmk3CaeMCtC0Ds8u0xaqDIfRxyyqgaCExFGTFU2SQIe5iSpShhpC\n2NSIj5DIFVZgBxLDwmuOUzDqTip4+S6aJGEX9uNO4ASxcEWLs4YXjD7m5yyQ\nblHVCw5l6ve+5PZWuwzXRidF2S2BvKfv/DWNuDDn55WU44HxLEcXx7ePF0Q7\nDXgTjl8YN2I06oDQTt12Hv5J4coHdaus++NLYOiO0fePvLpxmOPWlGxVnKSY\noSAc\r\n=t+I6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApMxBzmskZb6O+vGddZq1D1N2iZiPZqK3ejiQo6EEbxAiEA7CopOP/0Dx2k3Q19BKU4ZbL+6KQamiK4vC7g1Z5N3WI="}],"size":2834,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.4.0.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.4.0_1540582716155_0.4502090899937228"},"_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":1540582716277,"_cnpm_publish_time":1540582716277,"dist-tags":{"latest":"0.10.0"}}