{"_id":"reshape-parser","_rev":"2169322","name":"reshape-parser","description":"html parser for reshape","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"time":{"modified":"2022-01-05T02:57:46.000Z","created":"2016-08-10T15:20:39.225Z","1.0.0":"2018-07-24T21:55:07.646Z","0.3.1":"2018-06-19T03:08:29.150Z","0.3.0":"2018-05-23T17:05:21.097Z","0.2.1":"2016-08-19T21:34:07.135Z","0.2.0":"2016-08-10T22:18:16.639Z","0.1.0":"2016-08-10T15:20:39.225Z"},"users":{},"author":{"name":"Jeff Escalante"},"repository":{"type":"git","url":"https://github.com/reshape/parser.git"},"versions":{"1.0.0":{"name":"reshape-parser","description":"html parser for reshape","version":"1.0.0","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^4.0.0"},"devDependencies":{"ava":"^0.25.0","coveralls":"^3.0.2","nyc":"^12.0.2","standard":"11.0.1"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","keywords":["html","parser"],"license":"MIT","main":"lib","repository":{"type":"git","url":"https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"licenseText":"License (MIT)\n-------------\n\nCopyright (c) 2016 Jeff Escalante\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"reshape-parser@1.0.0","dist":{"shasum":"46d204fb20f68bc870bec67096305219c0173874","size":2784,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-1.0.0.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/reshape-parser_1.0.0_1532469307558_0.6195217987188522"},"_hasShrinkwrap":false,"publish_time":1532469307646,"_cnpm_publish_time":1532469307646},"0.3.1":{"name":"reshape-parser","description":"html parser for reshape","version":"0.3.1","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^4.0.0"},"devDependencies":{"ava":"^0.19.0","coveralls":"^2.11.12","nyc":"^10.0.0","standard":"10.0.0"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","keywords":["html","parser"],"license":"MIT","main":"lib","repository":{"type":"git","url":"git+https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"gitHead":"c79a254db1cd7842c4ab8e5d78500727afccfe2b","_id":"reshape-parser@0.3.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"dist":{"shasum":"9da89b9524c94f86248ccdf2ddcdaa800ae51de2","size":2726,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-0.3.1.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/reshape-parser_0.3.1_1529377709075_0.005600876731095772"},"_hasShrinkwrap":false,"publish_time":1529377709150,"_cnpm_publish_time":1529377709150},"0.3.0":{"name":"reshape-parser","description":"html parser for reshape","version":"0.3.0","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^4.0.0"},"devDependencies":{"ava":"^0.19.0","coveralls":"^2.11.12","nyc":"^10.0.0","standard":"10.0.0"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","keywords":["html","parser"],"license":"MIT","main":"lib","repository":{"type":"git","url":"git+https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"gitHead":"efe52b61b9908561cda7503879c8f72a282ebf4d","_id":"reshape-parser@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"dist":{"shasum":"901e388829ad05f5b4322f1b8a67e7062b478368","size":2736,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-0.3.0.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/reshape-parser_0.3.0_1527095121042_0.11267180831329782"},"_hasShrinkwrap":false,"publish_time":1527095121097,"_cnpm_publish_time":1527095121097},"0.2.1":{"name":"reshape-parser","description":"html parser for reshape","version":"0.2.1","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^2.1.5"},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.12","nyc":"^7.1.0","standard":"7.x"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","license":"MIT","main":"lib","repository":{"type":"git","url":"git+https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"gitHead":"b2a21dda40fc1f0e8ca557a942a372596bde6152","_id":"reshape-parser@0.2.1","_shasum":"3d713188c0ae05b899e3528774aacc2aef147368","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"dist":{"shasum":"3d713188c0ae05b899e3528774aacc2aef147368","size":2650,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-0.2.1.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/reshape-parser-0.2.1.tgz_1471642445632_0.13466674368828535"},"directories":{},"publish_time":1471642447135,"_cnpm_publish_time":1471642447135,"_hasShrinkwrap":false},"0.2.0":{"name":"reshape-parser","description":"html parser for reshape","version":"0.2.0","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^2.1.5"},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.12","nyc":"^7.1.0","standard":"7.x"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","license":"MIT","main":"lib","repository":{"type":"git","url":"git+https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"gitHead":"589fda85a91ce786ed1d252c94ba59451a8ac046","_id":"reshape-parser@0.2.0","_shasum":"63c8f5bce6556ca9dfe29652a25c7447f215d07b","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"dist":{"shasum":"63c8f5bce6556ca9dfe29652a25c7447f215d07b","size":2591,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-0.2.0.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/reshape-parser-0.2.0.tgz_1470867494892_0.545170032652095"},"directories":{},"publish_time":1470867496639,"_cnpm_publish_time":1470867496639,"_hasShrinkwrap":false},"0.1.0":{"name":"reshape-parser","description":"html parser for reshape","version":"0.1.0","author":{"name":"Jeff Escalante"},"ava":{"verbose":"true"},"bugs":{"url":"https://github.com/reshape/parser/issues"},"dependencies":{"parse5":"^2.1.5","when":"^3.7.7"},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.12","nyc":"^7.1.0","standard":"7.x"},"engines":{"node":">= 6.0.0"},"homepage":"https://github.com/reshape/parser","license":"MIT","main":"lib","repository":{"type":"git","url":"git+https://github.com/reshape/parser.git"},"scripts":{"coverage":"nyc ava","coveralls":"nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls","lint":"standard","test":"ava"},"gitHead":"4fc7f2da290083c2ccf3b4d647b5fa7f444f7857","_id":"reshape-parser@0.1.0","_shasum":"ca3820ab5e3038cdf116b9f9c5df5e4645e8d93e","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jescalan","email":"npm.je@mailhero.io"},"dist":{"shasum":"ca3820ab5e3038cdf116b9f9c5df5e4645e8d93e","size":2646,"noattachment":false,"key":"/reshape-parser/-/reshape-parser-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/reshape-parser/download/reshape-parser-0.1.0.tgz"},"maintainers":[{"name":"jescalan","email":"hello@jenius.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/reshape-parser-0.1.0.tgz_1470842437599_0.6846448082942516"},"directories":{},"publish_time":1470842439225,"_cnpm_publish_time":1470842439225,"_hasShrinkwrap":false}},"readme":"# Reshape Parser\n\n[![npm](https://img.shields.io/npm/v/reshape-parser.svg?style=flat-square)](https://npmjs.com/package/reshape-parser)\n[![tests](https://img.shields.io/travis/reshape/parser.svg?style=flat-square)](https://travis-ci.org/reshape/parser?branch=master)\n[![dependencies](https://img.shields.io/david/reshape/parser.svg?style=flat-square)](https://david-dm.org/reshape/parser)\n[![coverage](https://img.shields.io/coveralls/reshape/parser.svg?style=flat-square)](https://coveralls.io/r/reshape/parser?branch=master)\n\nAn HTML parser for [reshape](https://github.com/reshape/reshape) based on [parse5](https://github.com/inikulin/parse5), featuring source location info and more robust node types.\n\n> **Note:** This project is in early development, and versioning is a little different. [Read this](http://markup.im/#q4_cRZ1Q) for more details.\n\n### Installation\n\n`npm install reshape-parser -S`\n\n> **Note:** This project is compatible with node v6+ only\n\n### Usage\n\n```js\nconst parser = require('reshape-parser')\nconst html = '<p>hello world</p>'\n\nparser(html) // returns a reshape AST\n```\n\n#### Options\n\nNo options are required, all are optional.\n\n| Name | Description | Default |\n| ---- | ----------- | ------- |\n| **filename** | Attach a filename to the `location` info in each node. | |\n\n### The Reshape AST\n\nSee the [Reshape AST documentation](https://github.com/reshape/reshape#reshape-ast) for more information on the format.\n\n### License & Contributing\n\n- Details on the license [can be found here](LICENSE.md)\n- Details on running tests and contributing [can be found here](contributing.md)\n","_attachments":{},"homepage":"https://github.com/reshape/parser","bugs":{"url":"https://github.com/reshape/parser/issues"},"license":"MIT"}