{"_id":"innertext","_rev":"7-d6b7945c75fde7c6b5fb12dd5164b02d","name":"innertext","description":"Extract the innerText from a snippet of HTML","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"innertext","version":"1.0.0","description":"Extract the innerText from a snippet of HTML","main":"index.js","scripts":{"test":"mocha --timeout 5000"},"repository":{"type":"git","url":"git+ssh://git@github.com/revin/innertext.git"},"devDependencies":{"mocha":"^3.0.2"},"keywords":["html","markup","extract","innertext","inner","text"],"author":{"name":"Revin Guillen"},"license":"ISC","bugs":{"url":"https://github.com/revin/innertext/issues"},"homepage":"https://github.com/revin/innertext#readme","dependencies":{"html-entities":"^1.2.0"},"gitHead":"31bcdd8a01d0bd675628bc4fb099d793c1551b70","_id":"innertext@1.0.0","_shasum":"350bbdeb1abe79cfabe497fa3179074ccc5ea677","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"revin","email":"rg@sevenite.com"},"dist":{"shasum":"350bbdeb1abe79cfabe497fa3179074ccc5ea677","tarball":"https://registry.npmjs.org/innertext/-/innertext-1.0.0.tgz","integrity":"sha512-3RGiNSgsZI5QVSl6BzOwxPXdu1HiGOwHK74GBlXs5gEB5o3CHdjnn2YhKR/ZHOTGn5HNMsNPfbTYJwyqR8u+/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWgn29PyRqs56dOzLZZG+pCFqPblGivgWv5pYBP6IBxQIhAK1JNxYXZ02TXWn38y+ujM1a640axlCA1lsU0sWGOf/i"}]},"maintainers":[{"name":"revin","email":"rg@sevenite.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/innertext-1.0.0.tgz_1474654134984_0.6279904604889452"},"directories":{}},"1.0.1":{"name":"innertext","version":"1.0.1","description":"Extract the innerText from a snippet of HTML","main":"index.js","scripts":{"test":"mocha --timeout 5000"},"repository":{"type":"git","url":"git+ssh://git@github.com/revin/innertext.git"},"devDependencies":{"mocha":"^3.0.2"},"keywords":["html","markup","extract","innertext","inner","text"],"author":{"name":"Revin Guillen"},"license":"ISC","bugs":{"url":"https://github.com/revin/innertext/issues"},"homepage":"https://github.com/revin/innertext#readme","dependencies":{"html-entities":"^1.2.0"},"gitHead":"9e901aca61ab78549906debc47a9f50e12bfa20c","_id":"innertext@1.0.1","_shasum":"bd708f784c3ed9c28a44e0f4376d27a6d3491cb2","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"revin","email":"rg@sevenite.com"},"dist":{"shasum":"bd708f784c3ed9c28a44e0f4376d27a6d3491cb2","tarball":"https://registry.npmjs.org/innertext/-/innertext-1.0.1.tgz","integrity":"sha512-uBgQCPEx0R+P3vWpOh5Xg7rYbOJAWT7XRMbd8xBF4UtZos+U96rk8E7PwjV2ThbatJyczwLzDncYepe+rs5npQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHFH14pnyI9kPOkeYhTwJKVyfw2X6/3MmcOtjTxyTRpgIhANnDT4nVrRQoiE+4rul0X0KFJwl91KbbunyNuQ3h0R8+"}]},"maintainers":[{"name":"revin","email":"rg@sevenite.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/innertext-1.0.1.tgz_1474654261834_0.9299991754814982"},"directories":{}},"1.0.2":{"name":"innertext","version":"1.0.2","description":"Extract the innerText from a snippet of HTML","main":"index.js","scripts":{"test":"mocha --timeout 5000"},"repository":{"type":"git","url":"git+ssh://git@github.com/revin/innertext.git"},"devDependencies":{"mocha":"^3.0.2"},"keywords":["html","markup","extract","innertext","inner","text"],"author":{"name":"Revin Guillen"},"license":"ISC","bugs":{"url":"https://github.com/revin/innertext/issues"},"homepage":"https://github.com/revin/innertext#readme","dependencies":{"html-entities":"^1.2.0"},"gitHead":"d8173757f90695b80ca24d53e3de777ec95442a1","_id":"innertext@1.0.2","_shasum":"11a197b3143a593636fba5d59213835e6954580a","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.0","_npmUser":{"name":"revin","email":"rg@sevenite.com"},"dist":{"shasum":"11a197b3143a593636fba5d59213835e6954580a","tarball":"https://registry.npmjs.org/innertext/-/innertext-1.0.2.tgz","integrity":"sha512-Oa1ig+UXMUsCGm1EZ+6G1tQYP8IQFMqs4ghskkVRXCmrIBd3qUZq6kFKdNZ8XMo5mmwkz2T/Tuy8FcK8UCG6Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjLeNQ2pPiYG822kjdSZfkDQZUtyb/vlG2pWvtLJ29qAIgcDGMyHdijXiYerirxO9nN2XvQWeGQoWHcknjExqXhvw="}]},"maintainers":[{"name":"revin","email":"rg@sevenite.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/innertext-1.0.2.tgz_1493768686295_0.07900598016567528"},"directories":{}},"1.0.3":{"name":"innertext","version":"1.0.3","description":"Extract the innerText from a snippet of HTML","main":"index.js","scripts":{"test":"mocha --timeout 5000"},"repository":{"type":"git","url":"git+ssh://git@github.com/revin/innertext.git"},"devDependencies":{"mocha":"^4.0.0"},"keywords":["html","markup","extract","innertext","inner","text"],"author":{"name":"Revin Guillen"},"license":"ISC","bugs":{"url":"https://github.com/revin/innertext/issues"},"homepage":"https://github.com/revin/innertext#readme","dependencies":{"html-entities":"^1.2.0"},"gitHead":"ac520bb25a221beaa93d5b3c43c6ce093959c3c9","_id":"innertext@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"revin","email":"rg@sevenite.com"},"dist":{"integrity":"sha512-ZC410b7IbrTrmt8bQb27xUOJgXkJu+XL6MVncb9FGyxjRIHyQqNjpSDY20zvSUttkAiYj0dait/67/sXyWvwYg==","shasum":"f1a8767592bcdcce2ea94e686ed41a86ba4e8df0","tarball":"https://registry.npmjs.org/innertext/-/innertext-1.0.3.tgz","fileCount":6,"unpackedSize":5711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZsSmpYtZnmLIFnLKAptu9RbIlDOwBZoB2qy+Z/tDvvAiBMd8z+FAjAAIOgO9lO7iX2tWIyPK3kyXFkn4nUFB2iPA=="}]},"maintainers":[{"name":"revin","email":"rg@sevenite.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/innertext_1.0.3_1520371246959_0.6692482747872266"},"_hasShrinkwrap":false}},"readme":"# innertext\n\nExtract the `innerText` from a snippet of HTML\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/revin/innertext.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/revin/innertext.svg?branch=master)](https://travis-ci.org/revin/innertext)\n[![Code Climate](https://codeclimate.com/github/revin/innertext/badges/gpa.svg)](https://codeclimate.com/github/revin/innertext)\n\n## Installation\n\n```sh\nnpm install innertext\n```\n\n## Usage\n\nPass it a string containing some HTML.\n\n```js\nvar innertext = require('innertext');\n\nvar text = innertext('<h1>Heading text <em>with</em> <b>some</b> <u>markup</u></h1>');\n\nconsole.log(text); // 'Heading text with some markup'\n```\n\n## Correctness\n\nThe current implementation favors speed and simplicity over other considerations\nlike perfect web browser compatibility. For instance:\n\n* malformed HTML (e.g., un-encoded `<` &amp; `>` characters, etc&hellip;)\n  will generally break the text extraction process\n* whitespace around HTML tag/element boundaries gets collapsed into a single\n  space, whereas browsers will typically preserve newlines\n\nSo if you trust the incoming HTML, things will typically be OK, but don't use\nthis as the basis for creating a browser or anything.\n\n## Tests\n\n```sh\nnpm install\nnpm test\n```\n\n## License\n\nISC\n","maintainers":[{"name":"revin","email":"rg@sevenite.com"}],"time":{"modified":"2022-06-19T01:23:53.558Z","created":"2016-09-23T18:08:55.209Z","1.0.0":"2016-09-23T18:08:55.209Z","1.0.1":"2016-09-23T18:11:03.984Z","1.0.2":"2017-05-02T23:44:48.456Z","1.0.3":"2018-03-06T21:20:47.005Z"},"homepage":"https://github.com/revin/innertext#readme","keywords":["html","markup","extract","innertext","inner","text"],"repository":{"type":"git","url":"git+ssh://git@github.com/revin/innertext.git"},"author":{"name":"Revin Guillen"},"bugs":{"url":"https://github.com/revin/innertext/issues"},"license":"ISC","readmeFilename":"README.md"}