{"name":"@starptech/rehype-minify-whitespace","version":"0.7.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.7.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":"0ae34459abdc92ec25b5742e4af52685a752765a","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.7.0.tgz","_id":"@starptech/rehype-minify-whitespace@0.7.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-nePojEcAcRHHFk04T47Lx6YKUxqAg3MEoTeAOrJPmYGL2ygoD3L3gDXGT4HBu7VY/x6LKJviLaJC53hTibw2cQ==","shasum":"bc3399f6783373d73daf5a5794092d732630b477","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.7.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\nwsFcBAEBCAAQBQJb5yv9CRA9TVsSAnZWagAAs9sP/2Wyeo0BzN3WTFcYQUGG\nPNfJ8TqauPihyLnYixOPN5LLDagfMcODnck+BYRq/FQfbTWxCF0Si1tLalQV\n1j8NqpT61VmQsBobQ5MFR9IIv4wLkCtAT62h0xYXe8IjTrTInK9rRaGcdIdN\noc9ybI2ZaGzgdnYttM6DBiZSyzX5xjOCFfnqpOdWAa16COI/igocyxzZD6mB\nx3D+DmT7L/Qy1Vz/aQOUrtAMaK2c9BoPUEKrNEkAHg9+9touO4DvoNjOQhDK\nAjvVVqp2DA21vRB1w86pViW4GXa1HYVDkYxizdj4GxdB8wFTHTb+kKJeZgLz\nKfbNhCIwJbJ5C4jgcWARuSiDroFxf5vuBNKrIVDl78GnVgHk2uU7X4KaNAwV\n0/hgxHMy+bHAIp327rr7ZaDPEshcO3SIhJK/PL9R9PNFhoNJlvN6osUemrtn\n8bfSg84vSz62NCsJsqzwXlRByB4MXYdnZUbS5IOsKvegjt6Q6x78iBrrpt1T\nA6yd+4BkEs80RShcyLhknmD+YK343XRk5o0ztAIP5SBwOuJ+rIjl/WSF/84f\nmOClTwt06cVeLI+d4cCCATAHc1lJX6VB0mk5sPFQ4WUUd3J/1X1VjpwDyYTg\nWVhiwPvwowzgj+9rx0jhZtx4PNg6MzGA9R7pE9ji2xkHHP5MteMdTlrWM4tg\nk9h1\r\n=+OqA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOe940F7jb1Tle2cpQHjnjS54huoE7StXAEV5gNk+phAIgQQy/Uch8QdUidN0pNe+L93e9TwnA++20YsNMbUrb4XE="}],"size":2808,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.7.0.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.7.0_1541876732495_0.21532212918755556"},"_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":1541876732721,"_cnpm_publish_time":1541876732721,"dist-tags":{"latest":"0.10.0"}}