{"_id":"strip-html","_rev":"11-35b87f59a1714303c5420e667002afce","name":"strip-html","description":"strip html streamingly","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"strip-html","version":"1.0.0","description":"strip html streamingly","main":"index.js","bin":{"strip-html":"bin/cmd.js"},"dependencies":{"html-tokenize":"~1.2.2","stream-combiner2":"~1.0.2","through2":"~0.6.3","minimist":"~1.1.0"},"devDependencies":{"concat-stream":"~1.4.6","tape":"^3.0.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/strip-html.git"},"homepage":"https://github.com/substack/strip-html","keywords":["html","strip","sanitize","stream"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"7b2274f4a4181a9b1bbb1daf59a39ee71b947c34","bugs":{"url":"https://github.com/substack/strip-html/issues"},"_id":"strip-html@1.0.0","_shasum":"1bbc274c2ea0c2a44765051b75998a60e29d928c","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.31","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"1bbc274c2ea0c2a44765051b75998a60e29d928c","tarball":"https://registry.npmjs.org/strip-html/-/strip-html-1.0.0.tgz","integrity":"sha512-KoGBzwDojOTtnJz/nvNaYa6yENMNRtzEiUqvWBZpQAeXhrGHGiq6metOLcBCUKZwuH0iDMy6+eZo0stMGKs7mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwITpMkWsJzXmzEWBydxeKNtbf6vkYJvTmSlcJ8HeJtAiA66Xx+GhbEA8ESUnZifGbIOZgDMLknyQmcOZ/g4y/JEQ=="}]},"directories":{}},"1.0.1":{"name":"strip-html","version":"1.0.1","description":"strip html streamingly","main":"index.js","bin":{"strip-html":"bin/cmd.js"},"dependencies":{"html-tokenize":"~1.2.2","stream-combiner2":"~1.0.2","through2":"~0.6.3","minimist":"~1.1.0"},"devDependencies":{"concat-stream":"~1.4.6","tape":"^3.0.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/strip-html.git"},"homepage":"https://github.com/substack/strip-html","keywords":["html","strip","sanitize","stream"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"951c8fb9e55d391dd90388a82b85205b53c95208","bugs":{"url":"https://github.com/substack/strip-html/issues"},"_id":"strip-html@1.0.1","_shasum":"41130ea22212e45e9095715a5b319a56e3d2e781","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.31","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"41130ea22212e45e9095715a5b319a56e3d2e781","tarball":"https://registry.npmjs.org/strip-html/-/strip-html-1.0.1.tgz","integrity":"sha512-xU91LOa8DrNyO5mAAh6S2HQHXE5hnVVAgCjabX5qISauZXGyaFmpq9SjyLhnDyC+M/o7EawvGN/DG4bHPFDPjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXcGJSfsNaf5A/iJhaKQquRSww+9jGKO7TKgwExUfGWgIhAPtK4txIxzKr1iTWOFELpqAMPYhMzhIkc2fo1JF8Zlnz"}]},"directories":{}},"1.0.2":{"name":"strip-html","version":"1.0.2","description":"strip html streamingly","main":"index.js","bin":{"strip-html":"bin/cmd.js"},"dependencies":{"html-tokenize":"~1.2.2","stream-combiner2":"~1.0.2","through2":"~0.6.3","minimist":"~1.1.0"},"devDependencies":{"concat-stream":"~1.4.6","tape":"^3.0.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/strip-html.git"},"homepage":"https://github.com/substack/strip-html","keywords":["html","strip","sanitize","stream"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"426aa462d6488673b2fbe52e559ef7c662c823f3","bugs":{"url":"https://github.com/substack/strip-html/issues"},"_id":"strip-html@1.0.2","_shasum":"9db124ae265f11e5cef849f857a9bba30ae35229","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.31","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"9db124ae265f11e5cef849f857a9bba30ae35229","tarball":"https://registry.npmjs.org/strip-html/-/strip-html-1.0.2.tgz","integrity":"sha512-dGF4CPcRRV128gX+JAQ3dumrL5ZY8BPF+trYuLYZhP1Zk9q11X8GyEPWiSZwcXICGQuRmpRj+HCNdK8bqGFlfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6cY2VF03lksDq2v/0aRyyXWiCJ3yuyE/V/GVrob2C0QIhAMkGqwvOAbGItp6NLp6KZv0KoY8QC5KnE8IG33hatlwO"}]},"directories":{}}},"readme":"# strip-html\n\nstrip html streamingly\n\n[![build status](https://secure.travis-ci.org/substack/strip-html.png)](http://travis-ci.org/substack/strip-html)\n\n# example\n\n``` js\nvar strip = require('strip-html');\nprocess.stdin.pipe(strip()).pipe(process.stdout);\nprocess.stdout.on('error', function () {});\n```\n\n```\n$ curl -s http://www.transcendentalists.com/walden_where_i_lived.htm \\\n  | node strip.js | tail -n+511 | head -n15\noften safely offered in jest.  And I am sure that I never read any\nmemorable news in a newspaper.  If we read of one man robbed, or\nmurdered, or killed by accident, or one house burned, or one vessel\nwrecked, or one steamboat blown up, or one cow run over on the\nWestern Railroad, or one mad dog killed, or one lot of grasshoppers\nin the winter -- we never need read of another.  One is enough.  If\nyou are acquainted with the principle, what do you care for a myriad\ninstances and applications?  To a philosopher all news, as it is\ncalled, is gossip, and they who edit and read it are old women over\ntheir tea.  Yet not a few are greedy after this gossip.  There was\nsuch a rush, as I hear, the other day at one of the offices to learn\nthe foreign news by the last arrival, that several large squares of\nplate glass belonging to the establishment were broken by the\npressure -- news which I seriously think a ready wit might write a\ntwelve-month, or twelve years, beforehand with sufficient accuracy.\n```\n\n# methods\n\n``` js\nvar strip = require('strip-html');\n```\n\n## var stream = strip()\n\nReturn a transform `stream` that takes html text as input and outputs plain text\nas output.\n\nNote that the output side might contain html entities because this module does\nnot decode entities itself.\n\n# usage\n\nThis package also comes with a `strip-html` command:\n\n```\nusage: strip-html {OPTIONS}\n\n  -i, --infile   Read input from a file. Default: \"-\" (stdin)\n  -o, --outfile  Write output to a file. Default: \"-\" (stdout)\n  -h, --help     Show this message.\n\n```\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install strip-html\n```\n\nor to get the command, do:\n\n```\nnpm install strip-html -g\n```\n\n# license\n\nMIT\n","maintainers":[{"email":"nopersonsmodules@gmail.com","name":"nopersonsmodules"}],"time":{"modified":"2022-11-08T10:41:10.023Z","created":"2014-10-20T22:59:25.998Z","1.0.0":"2014-10-20T22:59:25.998Z","1.0.1":"2014-10-20T23:00:56.546Z","1.0.2":"2014-10-25T14:24:35.842Z"},"homepage":"https://github.com/substack/strip-html","keywords":["html","strip","sanitize","stream"],"repository":{"type":"git","url":"git://github.com/substack/strip-html.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"bugs":{"url":"https://github.com/substack/strip-html/issues"},"license":"MIT","readmeFilename":"readme.markdown","users":{"leodutra":true}}