{"name":"@starptech/rehype-minify-whitespace","version":"0.3.2","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.2","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":"540f043925552e88f11f96ef615ab2a94fe8720a","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.3.2.tgz","_id":"@starptech/rehype-minify-whitespace@0.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-0YGzEcKBILcWtz8CJlKJa7nEua/S2dvJkXZp9d1qJnLJnbHZ6JSMBqUyv0ZpMrtCrJGxzNNULjQlJ0idkaumyw==","shasum":"455d5439eeebf1c47a8d8f173b5aa3eb4d442b1d","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.3.2.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\nwsFcBAEBCAAQBQJby11gCRA9TVsSAnZWagAAh+YP/1CuitviNpinqQO+Ch7w\noldjSzRASOxe2oeJht4pszBLzLz3nT9F5vegFqLbwiEjsGnfHmCbxt4JBIBc\noztIQ0ytZpvCZz6AYdNOgBqXgpP67382WcZXCtmsp+NtyWu7hFGl89EY3vgg\nizkk1lLu4oM4//L3TrpI82KQwk6c81q6Er6WzvjRXS24Sk38hUqrmfrmFi7g\nqNggB6TRn6SAr8kIQH1ysNWIF0BVirl7mbuoiI0ASlIUErLH3bd2xJElX73P\nhn8+Uz9c6PRrhULVf+aV1Wr/jp0FSMS3d3QaIXTxRKFHOb0qbqid1GvSFH0y\nE7EjnrW7lP8kOsKkuSeXbxpcBtpUfRMRXCV98ETMo0UQv87lYkbR5o6qrPFx\ndQbb2QxTzgQqMD4G3PQK3U2CCos5c+879v7HloDVItCji+IXPzbEP2BGPHcQ\n39i2zZ9gTXc35dDvmreBlHQ5gEGA/WYhr+NagmSkrSkqf6+tTUuRp2B1EIzI\nUxNBMoWIjN8ogr/fplO+bSeLeKU5K2l7Ja3HBvxC17NdI/xtAN57wIGT7gLI\nUNJSNbUr9khDfXtv9A/uoz2j4Y/H4QDqfgoAeFJxpgjgLwS5iRmya2IKyrnI\nVCGpwzF8nK9ZTmtP4FYMcMw2H5F9PdcAYebrjQtNgiXArnR9C9As491SO/I7\nExlx\r\n=WFz/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNBAMOiEzhKZWC9LcRmNpJ/Tm2l1e1XFUzozAYWTXR8AiEArGdcaWsu97dAY7vkZ0x9aoId0IebMpLQ3SQfT0Ryt0w="}],"size":2835,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.3.2.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.3.2_1540054367303_0.1149323622008025"},"_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":1540054367496,"_cnpm_publish_time":1540054367496,"dist-tags":{"latest":"0.10.0"}}