{"name":"@starptech/rehype-minify-whitespace","version":"0.3.1","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.3.1","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":"a9c3d74f8d1e37e443fd905ec43fc25bb805ecea","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.3.1.tgz","_id":"@starptech/rehype-minify-whitespace@0.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-ju3WROvRpnQnpm8xm2kWskJspz68UkzoxHw9PU4sBwvA/fFXORYWu0/yTLYm8qcqhsLHk1gdRON0Tz8qGymjYg==","shasum":"d77976a604f0b8c3e8bf73cfe553cc4ac4e9e6f5","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.3.1.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\nwsFcBAEBCAAQBQJbyueMCRA9TVsSAnZWagAAmfYP/iw84eFzwIMW3/9A7Wyp\nrLdnZZmMC+q075eyHcjZ0Iep8LfBZNaGmq/KQ6sDm2SjsuBiWgx3NtFPRDFP\n4ggDQXvrdXvi7yBr/aFULJ4iA+Qun88qqvxffekRpt1ecBe2u8wvLUfW6ZVV\nuJNZkBZq6gA7yplN772KYjmXay4Aqek9/AxmlFU8kqp5h4fXVyLtyvsp3fvi\ndz3DDvPtLFaVtZEinkoU2kcQliHLZtNPrl/Rb+IiK64baGMyqjccZUlIzqsc\nmQwdFEsiBn4sIQxaLtViKreIIJkYePB1jIY2v4FL5Gtp2JZFZqckNlpD85Kx\nKvaT89eltOucr6xjNvXM5jXZfjiA7dbkcNAJ+AvMJv28EQUpO40LPwjdYfcE\np3ZeIWs9koR0ZmFVoKj9V82D7CG17uXElkt2bNY/WGJWOasY+cAnkpD4D0Qf\nrxP/smYwiNHkuZCh3Vvrk7EcEqpyjdIkaLJ9A0sk2qqXhzMjukbXyGikh6ee\nT3BUyGEiN9ccVDQFcLwDUk5C2FI7KbhN6pEp9yRAAz7vuJrSb7cTLXknLR8V\noQ90Ekw3AHsTIpgwfHO+rcabJA3440jOcwEN0OWaxawkJPqQI8e4wb4O0jkF\ne2wszdHoplp5B4UoifcL+wp1oK6mZYKG+o+aMOVShwbB+xvqZpvy8I5IUjpI\nzwRQ\r\n=fVzI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/GtsdCug4sx0N9dFi+tGN4aWOk+MP9YOTlldh6fU92AiEAlP51Cw+ThWX/Svp7Y6Z6Ds9QatnfZQ+bpHYVl+SQE6U="}],"size":2829,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.3.1.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.3.1_1540024204163_0.873354310538258"},"_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":1540024204331,"_cnpm_publish_time":1540024204331,"dist-tags":{"latest":"0.10.0"}}