{"name":"@starptech/rehype-minify-whitespace","version":"0.8.14","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":"d57a93a00388cd9737ee3cfe0193a33cfbf6d45a","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.8.14.tgz","_id":"@starptech/rehype-minify-whitespace@0.8.14","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-MzYzZINQgZbdpvMvToW7xkgVmwgQ0h+b3IthYQO6K1tVKFmQ4gCIisa+MQzBGtnByFWpcKBBa0kRdgaU7iSMMA==","shasum":"ac941deb5845681bbb5682a883874ac4555cbc15","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.8.14.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\nwsFcBAEBCAAQBQJcE3UHCRA9TVsSAnZWagAAM2sP/i1uAlKy0upknfeJXPn3\noz9OHG1Ynm4EI1dKAbFe97jJY0FyZM92xnJSqQek6DLxMcj4hK7v9DOj7A9s\nlr+2fTaKcCcn+lMK1VJ7uhBmFZZ3nKwP7m3HMv6PxERn1cfw8cWDSSPTQkCG\n6K8tRZpbpmNUIZZjpU94zcVO81QYkMSmSuQBTxoCIPG9HqLyrGJfjgy+6eLK\nq8RpmOQgl6a5ifJ869yeYuVq/+Gegd+I2BEPAptqS6te1hteKRxnzrFZoZxZ\nMbQAkDNDLE9IppDCexq1BLBKjPrmw0VHVltL53cK1V3QzIaAwDefnB31q45h\na1SNa6XqkKg3uGjYMS1cyC/evdaGP2QG0kEGwklWXzN5idTaHU/WOrbWyt+b\nSeq95baWGS7hCqQADaD30k3OuNt39NISG8K059JjGOUsgRpeU3xdmb8DhVim\nwPMeBsHi59X/wzLZerbuQz2XBbanFwKvQ9EDBUgCh4z5JmzElDb35pSA+00+\nKJ2MhCXil5ysKSfvLqJMK6h8DaqIkpUI8erBlRL2RQAZPLETXWlxoFt822k+\n53tkW9qg7n2NJZSOrO2TC28nl/pQ9canrZHVN6kPbFh5hxeTeC8mYK+Fh+el\ncs+WHSruzXcHj6uvqtGks1Ru7FiYSjfaw11F1ThQRQ1L04G1T+MHZ5cnYN7f\nYZDq\r\n=cHW2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICM8FHpYlu0GVwA7ST/yK6K6BySlvMQryOEXW6lxvwu1AiEArPMx7oOuJju5P2+DBwIw0sN9F7qYwRpMorzHkHy5ZB4="}],"size":2867,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.8.14.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.8.14_1544779014477_0.4120831944936225"},"_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":1544779014661,"_cnpm_publish_time":1544779014661,"dist-tags":{"latest":"0.10.0"}}