{"name":"@starptech/rehype-minify-whitespace","version":"0.5.3","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.5.3","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":"3764ec4f89ba3a127d1f6411e237be37b655b5e2","_resolved":"","_integrity":"","_from":"file:starptech-rehype-minify-whitespace-0.5.3.tgz","_id":"@starptech/rehype-minify-whitespace@0.5.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"starptech","email":"deusdustin@gmail.com"},"dist":{"integrity":"sha512-ImlZqsPc7TH1oK67k2FMEcSF9/fEPUf9NgwJKuVoxAjjH4YaBcbFKKUBMVbAioE/jJptTeG+CChoI0aUw7fIag==","shasum":"de86a12251eed15e2cb8f30ee92f523e8ac7c4c9","tarball":"http://registry-npm.ywwl.com/@starptech/rehype-minify-whitespace/download/@starptech/rehype-minify-whitespace-0.5.3.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\nwsFcBAEBCAAQBQJb5K9wCRA9TVsSAnZWagAAz8IP/0Lg9aEjgyCsuumLLe6p\nDM37JJehb4zawhFpzQugW1LQcLGGIXE/NoJx9UqQqC/D4RxVNF9zuIE/5faL\npipWTVLwRCoFsMJw4K8Dno2BBCqwzrDxBrd8j6ag7gg04rC0cs501DJn+2m9\nT80m/Rh3l3LPUheLOfcwJFh/DFRRzZx2BclkXmiQRHiyvJJvcAId3pB493Fo\nLV+8dzps8rclqMs739765JdqLvHlVbqqBEHCO/nnV+FvyEjmoZbl7VWI8x3S\n91SNnP09egF5PmjZ8ZkvkYPxIkeJ3vr0DUOOSN2CjggTteIOf1BFrGEiK3Iy\n/HhDQU++lhxogg54TIeKG45muFZgc/4VkZn/x11xTbu0TGyzZdkauOXi/qSC\ngtgzfTDwleKhIQakmdMTg4SV7ZBGWoYfg7GbnKAW1Muh19zl1dQJIkPn2nzZ\nW/6MmJhlAclSlhlzshtLw+OR5UxcGnGogdwEgRd2WAhhmXo5p9Wb7QAl1ovi\n7krOv6IEswnRUCsTgxLF8Y+RNge+ci8DZSjRHoehdZpfhapsKGPRg7DZZm9L\nDXg934tfLveS5dte734qAF0qJtPzfcYW54fG8ddCFxKfZSURXhljrx4XIlhm\nZlInJzZDEV74o4HyehpZDwcQjYp8Gk2PcCt6KHpqSjEgfPMeU7YyG7gQiZfF\nBnuv\r\n=pH3u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFN1IwlG1XAthwxeFnS3h5t3y53AHfdTHhzfDrV1I2QjAiEA5V2KKIFoVinRkECbA6cEeuh/W1+O6JpytJkg9L/BH4U="}],"size":2807,"noattachment":false,"key":"/@starptech/rehype-minify-whitespace/-/@starptech/rehype-minify-whitespace-0.5.3.tgz"},"maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-minify-whitespace_0.5.3_1541713775506_0.5306394763806412"},"_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":1541713775610,"_cnpm_publish_time":1541713775610,"dist-tags":{"latest":"0.10.0"}}