{"_id":"html","_rev":"35-28cf0b5c7dc584897a323999b0b7d39b","name":"html","description":"HTML pretty printer CLI utility (based on jsbeautifier)","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"html","version":"0.0.1","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"git://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"_npmJsonOpts":{"file":"/Users/maxogden/.npm/html/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"html@0.0.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.18","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"53f8ca6d5052a93c8b038fc7902a2aee179c92f6","tarball":"https://registry.npmjs.org/html/-/html-0.0.1.tgz","integrity":"sha512-kxhMLaWdg6vatDPfk8EJUvGZYZ5wlf/rOzSqClMzR36sM7nNhN+dJYwIICHxAB+UpNaiNub4jM7biXsrNA6gOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfca7a+1eXwfsK0reqiV0FuU+zs4uBfRfCysDMuEdFugIgSkMfQh74td54PfOyprvciGBhrchQcmJ+yWh7oShH9f0="}]},"scripts":{},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.2":{"name":"html","version":"0.0.2","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"git://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"_id":"html@0.0.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.8.0","_defaultsLoaded":true,"dist":{"shasum":"cf38ff982e3c539f496e6fc620529ec4b112c3e9","tarball":"https://registry.npmjs.org/html/-/html-0.0.2.tgz","integrity":"sha512-QoKMZapH3ME/lzizpK+/uTjnPaUkHFEO1rVJjAXwVzX9YC9jb14KxUMF6eIvYKZEiDmfX9Q/s+XG1+XeOt5wfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIByIwPj2DQA5raTkkZHb9KlZq9WJJLeJgTw4+3KMz075AiBfQ2cBR+atIuv5ltxqSSkMaJneON35Ir4B7PDNVDmcGw=="}]},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.3":{"name":"html","version":"0.0.3","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"git://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"devDependencies":{"rigger":"0.3.x"},"scripts":{"build":"./node_modules/.bin/rig src/html.js > lib/html.js"},"main":"lib/html.js","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"_id":"html@0.0.3","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.8.0","_defaultsLoaded":true,"dist":{"shasum":"ab020f819f6ba3b969f4d221370f2b67ae84bf23","tarball":"https://registry.npmjs.org/html/-/html-0.0.3.tgz","integrity":"sha512-3dUXwRC518TSgcLRrT620UdWR4qj7UJZUI80JPiAmda0MTtOyHiE/hIaBHenwVbLT/uNAUM8cr5aD3/1JnW5YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMMuwZGUnWfRnqv08ghKm0bTyWr5UJhe2tZunGAbu+IAiBfU/ATbI3Xmc0GEkD7VQRAj+1ppWyfsr9ovHLiewmUSg=="}]},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.4":{"name":"html","version":"0.0.4","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"devDependencies":{"rigger":"0.3.x"},"scripts":{"build":"./node_modules/.bin/rig src/html.js > lib/html.js"},"main":"lib/html.js","_id":"html@0.0.4","dist":{"shasum":"26377a60549937c1942fdfd0f542cb6774f2bb6f","tarball":"https://registry.npmjs.org/html/-/html-0.0.4.tgz","integrity":"sha512-M2tHi1X6dtSdNAIU6YSKmRk2G+QYr/Vyh9/MIMmnVBN/d9PYaNDGlJK5kQgKU9sM80f8t6W8M1vn2IsSHgvRVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcVUT7P4Lv19pDqEmM6unHREnzZcIfEc6OI04+PLgmzwIgbtpv9pAS5Zlqa6e0Yslynp2A/Pcq00cOT4GJDkqNTSE="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.5":{"name":"html","version":"0.0.5","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"dependencies":{"glob":"3.1.13"},"scripts":{"build":"./node_modules/.bin/rig src/html.js > lib/html.js"},"main":"lib/html.js","_id":"html@0.0.5","dist":{"shasum":"b5e4fb23b212033cfe448169ad927f4eea6fd30c","tarball":"https://registry.npmjs.org/html/-/html-0.0.5.tgz","integrity":"sha512-21Rhu8jcWN3dm3aLW3xVniYymjiMxNhjkNmvUV8K3DhxzWKzjvBKnPIOBv18FO5X/PK7jXzeVI86RDIj3XYjqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLxpvXXoA6/WaFOeWZsrlxKNezmO0YhLP0C9AXw6YbbQIhAIkvEa70qMiJqtwQD2uU4fzoj6Rj3kAxBn585pje/m8Q"}]},"_npmVersion":"1.1.62","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.6":{"name":"html","version":"0.0.6","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"scripts":{"build":"./node_modules/.bin/rig src/html.js > lib/html.js"},"main":"lib/html.js","_id":"html@0.0.6","dist":{"shasum":"b14e3dfc70b93e0b53bb853a1dcd6bf8193dc297","tarball":"https://registry.npmjs.org/html/-/html-0.0.6.tgz","integrity":"sha512-NsVrj8Y5TbcOwid7vA6NIjd1J5W9Uie1E5/AlbxaftuMyt2yz0WZcSPo0p19TkIfN5pxUARnzuFDqG5AxbL22Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnaAGCcu7CCzoOTjuJ2lMUKBAOkDHf2dns5/Ikcz6MjQIgaYGlcKmMflRAxxz5vvPkHQD5z3N11cFF+0aIhcw4UKA="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.7":{"name":"html","version":"0.0.7","engines":["node >=0.4.0"],"description":"HTML pretty printer.","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"main":"lib/html.js","_id":"html@0.0.7","dist":{"shasum":"572980bb55a2ff3fe92fb394723f04f9d48d3773","tarball":"https://registry.npmjs.org/html/-/html-0.0.7.tgz","integrity":"sha512-fXT5+O8zgmSUY4SD7XlTeoO3JQAYAnMxem3fgALEhjccLOSEiYkS+O6ulQLfthECJ+uvqZ5soRMrAxVALOKQ4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBftCudC2OiA9pF00bPvjqBgdhilKTg4yWpW+ywt+ZguAiBL/p/0v7/05LBWErSCqrZDXIZL3LAHtpQUw1IshbntIg=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}]},"0.0.9":{"name":"html","version":"0.0.9","description":"HTML pretty printer CLI utility (based on jsbeautifier)","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"main":"lib/html.js","bugs":{"url":"https://github.com/maxogden/commonjs-html-prettyprinter/issues"},"homepage":"https://github.com/maxogden/commonjs-html-prettyprinter","dependencies":{"concat-stream":"^1.4.7","glob":"^3.1.13","rigger":"^0.3.19"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"BSD","gitHead":"f5f3ad6c83a60be7a416ae9e121fb3516120e6e1","_id":"html@0.0.9","_shasum":"06ae2afe75cb815d80858636ad0d43cc83347ca0","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"06ae2afe75cb815d80858636ad0d43cc83347ca0","tarball":"https://registry.npmjs.org/html/-/html-0.0.9.tgz","integrity":"sha512-LPmLaF9SRlffVyy2e9qZ5mKqvaWxHcd0xbxvQVkh1zOKeiKjbpjKLET0NCS2wSaiFy1U0uJBj5vnBj/5/pB1hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYFEXSCRaqGn3UGyLQEeVQK800Ogmm/DGTtQ4xdEJ8KAIgR1JzeH8r5zqCkpOAZtE+e4calKDU0Wh4c+YFbCmqTC8="}]}},"0.0.10":{"name":"html","version":"0.0.10","description":"HTML pretty printer CLI utility (based on jsbeautifier)","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"main":"lib/html.js","bugs":{"url":"https://github.com/maxogden/commonjs-html-prettyprinter/issues"},"homepage":"https://github.com/maxogden/commonjs-html-prettyprinter","dependencies":{"concat-stream":"^1.4.7","glob":"^3.1.13"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"BSD","gitHead":"689fb2822513dff8fc971f0d54f01dc1b5844e2f","_id":"html@0.0.10","_shasum":"6fdc3ef8668c09a3a198ee3a5aa9e9f2878b95de","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"6fdc3ef8668c09a3a198ee3a5aa9e9f2878b95de","tarball":"https://registry.npmjs.org/html/-/html-0.0.10.tgz","integrity":"sha512-aflTRU6AQTJHztX9WoJGGMHZjQQagjSl6iPzFKe71YBZERwK9434vZw7yD4fhfRwf0k5gEvDMWD9LB/ePv5zww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmO/LkLpqKdKG6unzXC1A6Kd1SaedXp/mKxMUwVWYVlAiB2DkBdzPYfNDJViFKIT9LSPSeOgdYvvQRetTHQ+M3QUw=="}]}},"1.0.0":{"name":"html","version":"1.0.0","description":"HTML pretty printer CLI utility (based on jsbeautifier)","author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"repository":{"type":"git","url":"git+https://github.com/maxogden/commonjs-html-prettyprinter.git"},"bin":{"html":"./bin/html.js"},"main":"lib/html.js","bugs":{"url":"https://github.com/maxogden/commonjs-html-prettyprinter/issues"},"homepage":"https://github.com/maxogden/commonjs-html-prettyprinter","dependencies":{"concat-stream":"^1.4.7"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"BSD","gitHead":"0717eb216ebcc67399ca3c0406e5c03a77f7e761","_id":"html@1.0.0","_shasum":"a544fa9ea5492bfb3a2cca8210a10be7b5af1f61","_from":".","_npmVersion":"2.14.15","_nodeVersion":"4.2.3","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"dist":{"shasum":"a544fa9ea5492bfb3a2cca8210a10be7b5af1f61","tarball":"https://registry.npmjs.org/html/-/html-1.0.0.tgz","integrity":"sha512-lw/7YsdKiP3kk5PnR1INY17iJuzdAtJewxr14ozKJWbbR97znovZ0mh+WEMZ8rjc3lgTK+ID/htTjuyGKB52Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdGlodcdS20Fcl/4FGL7zOmxuLRvsA6qVGfwGHPEi9yAIgLw0cfzHobhvRK3NdwZ58L3Mg/SlR3ai1+V8zjcIb1Z0="}]},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/html-1.0.0.tgz_1470775349947_0.25835029617883265"}}},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"time":{"modified":"2022-06-18T21:50:12.441Z","created":"2011-09-10T22:11:19.250Z","0.0.1":"2011-09-10T22:11:19.877Z","0.0.2":"2012-07-12T21:56:01.881Z","0.0.3":"2012-09-04T04:45:40.979Z","0.0.4":"2012-10-08T14:48:18.788Z","0.0.5":"2012-10-08T15:03:29.220Z","0.0.6":"2012-10-08T15:12:19.328Z","0.0.7":"2012-11-27T00:09:30.925Z","0.0.9":"2015-03-17T21:34:54.437Z","0.0.10":"2015-04-13T06:05:52.395Z","1.0.0":"2016-08-09T20:42:30.203Z"},"author":{"name":"Max Ogden","email":"max@maxogden.com","url":"http://maxogden.com"},"repository":{"type":"git","url":"git+https://github.com/maxogden/commonjs-html-prettyprinter.git"},"users":{"inca":true,"hzapata":true,"zeke":true,"itonyyo":true,"hacksalot":true,"cable023":true,"ash":true,"wangfeia":true,"olonam":true,"luchogodi77":true,"kakaman":true},"readme":"# html prettyprinter\n\nA node port of beautify-html.js by Nochum Sossonko which is based on jsbeautifier by Einar Lielmanis\n\n## Installation\n\n### from npm (node package manager)\n``` bash\n  npm install html\n```\n\n## Usage (command line)\n\n```\n  echo \"<h2><strong><a href=\"http://awesome.com\">AwesomeCom</a></strong><span>is awesome</span></h2>\" | html\n```\n\nreturns:\n  \n``` html  \n  <h2>\n      <strong>\n          <a href=http://awesome.com>AwesomeCom</a>\n      </strong>\n      <span>\n          is awesome\n      </span>\n  </h2>\n````\n\n`html foo.html` will write the prettified version to `stdout`.\n\n`html *.html` will *update in place* all matching html files with their prettified versions.\n\n## Advanced usage\n\nI find myself constantly using the 'Copy as HTML' feature of the Chrome Inspector:\n\n![Copy as HTML](https://github.com/maxogden/commonjs-html-prettyprinter/raw/master/img/copyashtml.png)\n\nThe downside is that that usually the HTML that gets copied is pretty ugly:\n\n![Before pretty printing](https://github.com/maxogden/commonjs-html-prettyprinter/raw/master/img/before.png)\n\nOn OS X you can use `pbpaste` and `pbcopy` to stream your clipboard in and out of unix pipes. With the ugly HTML still in your clipboard run this command:\n\n`pbpaste | html | pbcopy`\n\nNow when you paste your clipboard into an editor you will get nice, pretty printed HTML:\n\n![After pretty printing](https://github.com/maxogden/commonjs-html-prettyprinter/raw/master/img/after.png)\n\n## Upgrading\n\ngrab the newest `beautify-html.js` from [js-beautifier](https://github.com/einars/js-beautify) and drop it into `lib/` as `html.js`. then add the following code to the bottom of `html.js`:\n\n```javascript\n  module.exports = { prettyPrint: style_html }\n```\n\nBSD LICENSE","homepage":"https://github.com/maxogden/commonjs-html-prettyprinter","keywords":["html","tabifier","beautifier","prettyprinter","prettifier","pretty","command","shell"],"contributors":[{"name":"Nochum Sossonko","email":"nsossonko@hotmail.com"},{"name":"Einar Lielmanis","email":"elfz@laacz.lv"}],"bugs":{"url":"https://github.com/maxogden/commonjs-html-prettyprinter/issues"},"license":"BSD","readmeFilename":"readme.md"}