{"name":"@starptech/rehype-minify-whitespace","version":"0.2.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":{"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":"55286160dc1d74e622c553eb130a509d95aaa2db","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.2.2.tgz","_id":"@starptech/rehype-minify-whitespace@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-PVCU5RgtGJMBQqjQe6ajrYHQcBx1+53+JeJQVZIGzBvB+cH5ESjm0K6hrbdh9Xg65UzKD/Fto9uiNPdvS9bAhw==","shasum":"c5b178da1e152da21a85cc5c6ee9a2a82f544bda","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.2.2.tgz","fileCount":5,"unpackedSize":6152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu8aWCRA9TVsSAnZWagAAcrAP/R5Wocuz+NzfaneGJmjn\neojy25kMLviN9+lWCoyn855fj6Z01eTOmYzEXhbo1YDyaw/rAGDghA8WxGq9\n3tzgq6ha2BKop1e/WSoIBQ63gkcQJQgGLQEInKw/vuu1cZq3o4Xy7torv700\nzkXPfAUjBmFObIunB4gp6kRAPtu9bK0069yA8vth/ecRX33r9a7z8jF2m2vv\n1LWQe9bKJnYkNJgiEv6LyzFDrfPNDGNsVZZs+f84NousxierQaAkcq+qz/yr\nqUeDM2+IpG/CWammbRqDkWhMw2sRPDgcDYPmjqhFMdAuCu/lOD1SDaqv0rqy\nGF5rVFRW8RP3JMqJPCNGmRLzvfbW8H/RzqzIjF9aRJCH2SuOlo1QoVzr1Rev\neB05e8ZTtDtE1K3nLvPUO3Wh2fRT/JLCF57j2gwMJU2GvHv9d5mTalYNLAHb\nMGyi5gyG2FUt2xQz/TgwVsXajvuLpLG209tRu6JnEe7pS8QrUbIC9h/35pJR\nCC7QXidwkECHnoSh3cz13l6zVXZjucW7yKxj8s+90XDypYxB/MIE+ZXk1Ps/\nR0RMPCc7ny+l00cSAlPVc2FQ4RgesBgruhr2ry3px7t5FJIetU8GxWFLocbe\nu695667TLwFYfKJJ7f29FbhrXW9DiXlQlybAm/0ONbhCgr7KXxH6HQ1BrNFx\nP2lW\r\n=cZux\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/pGN8VGWMDhWNITmOBf1l53AjsFPbHmKc/DfuW+xPTAiEAsYok7SjUTVHXQ70NwYT3F2ENrG00fhZCjbO1h6aNUl4="}],"size":2780,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.2.2.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.2.2_1539032725715_0.09533964831436492"},"_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":1539032725830,"_cnpm_publish_time":1539032725830,"dist-tags":{"latest":"0.10.0"}}