{"name":"@starptech/rehype-minify-whitespace","version":"0.2.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":{"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":"a259549392df15325c7871ffb814a0724918ad3f","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.2.0.tgz","_id":"@starptech/rehype-minify-whitespace@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-lDBhcsVfD//esxWuB8n0hCWhMxfovpm+JfkqypAAG0QeFulUW7CmSctO3vkZs4T67yiletJSBfemi4ygtHBs2A==","shasum":"c50f1f96b88da00dd7fb35787806a1bd39ae0f8a","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.2.0.tgz","fileCount":4,"unpackedSize":5489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuPRPCRA9TVsSAnZWagAA360P/jLVwDiO0lkq0c4CesjY\nLhhmvLjlr8WdHi3++2Q3LkDAVQZoEbHU1qyvGNP1VWcG+pCtkSxsgaXfgwjY\n3FAuooCWkCSe07shHG/rFu4eb4tfFW0xh3jG1ptNwhJHgYf/KbFSLPkPr7QV\n29rXzI2EFeumUpSsCeYr9S7/hmitxd1YFEUhY5DqnlV3m9W+/2Qiew4lXPpc\nmM+OwPuaCHrP8MBJhOyJWvqE6Okn0P00HHCVMfdoVOwg4xC22FzFCEOM8LW+\nsSA2I1oZKF6Ajl/Ea9n+BPgO5zV/h80VbBPFcEya+S7dAE7F4VNJrw1vIxf0\nn6onOnJoeaGLOhkkuGBKpt7St/xXMWmCvgpr2m6B3FkQBMf7k+cnx/v/4/BU\nXCc6LlnLaBlvILZZXcKz0t3cLCTakK8s3ovmJPQbCpvGOFUqK4xrneQEymf7\nfza1B5QYb5iaQ6uo3vNoC+kXQlY6yYqQaZ/7X+NJX/T7CTv/0KrfWPmHzDHq\nAh2UqrVLmMl5xTtw6C6IOoJXSt3/UjPQfwQ+skOZ2OHGnWfwHe0uXKirYPGE\nF22K4byl7QxN0NKWHM2W+TM/NJxeWgAC+8rtg5R1iPFSK8f1rOqLFzO2xd8Z\n4144dOAx4DXHb97J9ceyStgpzaaw4z8TmfU1tQEKiUSvwC/mU0t5WntQB1Uq\neABL\r\n=J0+D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfdBk3OTbM/SrqBXMA6ZfJJVjVUztFWq0vhfMUB6b+3QIge60bG/FD7ez8tW/XWfM3o9cr4qRKToL2C0lB4BuSkr0="}],"size":2479,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.2.0.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.2.0_1538847822729_0.5622213756902179"},"_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":1538847822836,"_cnpm_publish_time":1538847822836,"dist-tags":{"latest":"0.10.0"}}