{"_id":"htmltidy","_rev":"26-a72fd8a182f806ce932364ff6a06c374","name":"htmltidy","description":"tidy bad html","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"htmltidy","description":"tidy bad html","version":"0.0.1","author":{"name":"lauris","email":"lauris@ma-1.lv"},"main":"tidy.js","engines":{"node":">6.0"},"os":["linux","win32"],"_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"_id":"htmltidy@0.0.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":false,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"919c1de8f4c0508bf5d21ba88ba62ba74b417da0","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.1.tgz","integrity":"sha512-JvmWAxykCI3OtKk2rlbuqFRt10elGohtK1VHol4CAKqaL6EnkS+5bNH7RbRyuYgjTBBEnEr58MgWsNHkI8Tlhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1uaFkxQFEaSev/EU0onvSHPDZyWGDY2PY//HzIt285AiADK1c3wAL84+tI65RYO6k988/9OPP3VjB4UDZdWaANsw=="}]},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"directories":{}},"0.0.2":{"name":"htmltidy","description":"tidy bad html","version":"0.0.2","author":{"name":"lauris","email":"lauris@ma-1.lv"},"main":"tidy.js","engines":{"node":">6.0"},"os":["linux","win32","darwin"],"devDependencies":{"request":"~2.11.4"},"_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"_id":"htmltidy@0.0.2","dependencies":{},"optionalDependencies":{},"_engineSupported":false,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"68346c227102c4218b1fc602410c71add61b1666","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.2.tgz","integrity":"sha512-YTQw2E0YFjvez0a1n09fcP8olvs72VLsDAhdq/d/Q8iLDGdJStDBw15KyQXwai4BUqNaEz667XInAvVsRirmag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHw/7QW4y11Ut5atFW+pBe7FpFqh0MTU8xsLDu42GU2QCIQClnhqD7AZCkUMXb38bF+f7JQIcVe+J1lZP4kdIW/cybw=="}]},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"directories":{}},"0.0.3":{"name":"htmltidy","description":"tidy bad html","version":"0.0.3","author":{"name":"lauris","email":"lauris@ma-1.lv"},"main":"tidy.js","engines":{"node":">= 0.6.0"},"os":["linux","win32","darwin"],"devDependencies":{"request":"~2.11.4"},"dependencies":{},"optionalDependencies":{},"_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"_id":"htmltidy@0.0.3","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"c2481b243476f01d8b4fca07e818aa80a0215d7c","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.3.tgz","integrity":"sha512-gmtAgWuzx4BXqFT5RXucFZeBVL+pL2SKCG2NBAwUN9LD8Z8RccD+FdzxjjHcD8qKJ8VkBgstuA1bGNa9fGn3XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4/QbDnnk6Ju5SlN5w2/RdqAG/Sv7ciSAxA3FBX3tXpAIgTJ0hNcyhMDtqCrtOCPrag0O1CYmQfUjN57QrJnaj8cg="}]},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"directories":{}},"0.0.4":{"name":"htmltidy","description":"tidy bad html","version":"0.0.4","author":{"name":"lauris","email":"lauris@ma-1.lv"},"main":"htmltidy.js","repository":{"type":"git","url":"git://github.com/vavere/htmltidy"},"engines":{"node":">= 0.6.0"},"os":["linux","win32","darwin"],"devDependencies":{"request":"~2.11.4","async":"~0.2.1"},"dependencies":{},"optionalDependencies":{},"readme":"HTML Tidy\r\n=========\r\n\r\nNode Wrapper for HTML Tidy\r\n\r\nWhat is HTML Tidy?\r\n-----------------\r\nHTML Tidy is an open source program for checking and generating clean XHTML/HTML.\r\nIt cleans up coding errors in HTML files and fixes bad formatting.\r\nIt can output files in the HTML, XHTML or XML file format.\r\n\r\nUsing HTML Tidy, developers can programatically clean up and fix poorly-written HTML pages.\r\nAnother use is to convert HTML to XHTML or XML.\r\nThese files can then be easily processed using the tools in the traditional XML chain,\r\nsuch as XSL transforms.\r\n\r\nInstallation\r\n------------\r\nTo use this library simply install it using [npm](http://npmjs.org/):\r\n\r\n    npm install htmltidy\r\n\r\nExample\r\n-------\r\n\r\n```javascript\r\nvar tidy = require('htmltidy').tidy;\r\ntidy('<table><tr><td>badly formatted html</tr>', function(err, html) {\r\n    console.log(html);\r\n});\r\n```\r\n\r\nAPI\r\n---\r\n__tidy(text, [options], callback)__\r\n\r\nClean html like text according optional configuration [tidy options](http://w3c.github.com/tidy-html5/quickref.html).\r\n\r\n```javascript\r\nvar opts = {\r\n    doctype: 'html5',\r\n    hideComments: false, //  multi word options can use a hyphen or \"camel case\"\r\n    indent: true\r\n}\r\n```\r\n__createWorker([options])__\r\n\r\nCreate transform stream which can receive html like data as writable stream and output cleaned html/xml as readable stream.\r\n\r\n```javascript\r\nvar worker = tidy.createWorker(opts);\r\nrequest.get('http://www.nodejs.org').pipe(worker).pipe(process.stdout);\r\n```\r\n\r\nPlatform support\r\n----------------\r\n* Linux\r\n* Windows\r\n* OSX (experimental)\r\n\r\nChangelog\r\n---------\r\n    0.0.4 - Feb 23, 2013\r\n      - fixed error in package.json\r\n    0.0.3 - Jan 11, 2013\r\n      - fixed engine version error\r\n    0.0.2 - Oct 5, 2012\r\n      - node Stream support, pipe and so on\r\n      - more examples\r\n      - example with worker pool for web front ends\r\n      - experimental support for osx #1\r\n    0.0.1 - Sep 29, 2012\r\n      - First NPM release\r\n\r\nCredits\r\n-------\r\n* [HTML Tidy Library Project](http://tidy.sourceforge.net/)\r\n* [HTML Tidy for HTML5](http://w3c.github.com/tidy-html5/)\r\n* [Michael Leaney](http://stackoverflow.com/a/8220285/770155)\r\n\r\n\r\n\r\n","readmeFilename":"README.md","_id":"htmltidy@0.0.4","dist":{"shasum":"fa858d63226749868ad2c9fdc7b17c4519461a28","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.4.tgz","integrity":"sha512-OhplR8uWaVLVV68ZzuxhGAQamtpDpBEbtFrX69UIFpf5ThumPg2yOqjk39ZfxH1zfLC4ytazJUxurcCbKqoBnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVeMGnLDiJTC8gxEJdVDpU1U7beDb+YvZyOgFByswqrgIhAJiGM13/L09tD4RuMtLSTD91HuD1uqHystBajanVVCii"}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"directories":{}},"0.0.5":{"name":"htmltidy","description":"tidy bad html","version":"0.0.5","author":{"name":"lauris","email":"lauris@ma-1.lv"},"contributors":[{"name":"Keith Rosenberg","email":"kthrose@netpoetica.com"}],"main":"htmltidy.js","repository":{"type":"git","url":"git://github.com/vavere/htmltidy"},"engines":{"node":">= 0.6.0"},"os":["linux","win32","darwin"],"devDependencies":{"request":"~2.11.4","async":"~0.2.1"},"dependencies":{},"optionalDependencies":{},"readme":"HTML Tidy\r\n=========\r\n\r\nNode Wrapper for HTML Tidy\r\n\r\nWhat is HTML Tidy?\r\n-----------------\r\nHTML Tidy is an open source program for checking and generating clean XHTML/HTML.\r\nIt cleans up coding errors in HTML files and fixes bad formatting.\r\nIt can output files in the HTML, XHTML or XML file format.\r\n\r\nUsing HTML Tidy, developers can programatically clean up and fix poorly-written HTML pages.\r\nAnother use is to convert HTML to XHTML or XML.\r\nThese files can then be easily processed using the tools in the traditional XML chain,\r\nsuch as XSL transforms.\r\n\r\nInstallation\r\n------------\r\nTo use this library simply install it using [npm](http://npmjs.org/):\r\n\r\n    npm install htmltidy\r\n\r\nExample\r\n-------\r\n\r\n```javascript\r\nvar tidy = require('htmltidy').tidy;\r\ntidy('<table><tr><td>badly formatted html</tr>', function(err, html) {\r\n    console.log(html);\r\n});\r\n```\r\n\r\nAPI\r\n---\r\n__tidy(text, [options], callback)__\r\n\r\nClean html like text according optional configuration [tidy options](http://w3c.github.com/tidy-html5/quickref.html).\r\n\r\n```javascript\r\nvar opts = {\r\n    doctype: 'html5',\r\n    hideComments: false, //  multi word options can use a hyphen or \"camel case\"\r\n    indent: true\r\n}\r\n```\r\n__createWorker([options])__\r\n\r\nCreate transform stream which can receive html like data as writable stream and output cleaned html/xml as readable stream.\r\n\r\n```javascript\r\nvar worker = tidy.createWorker(opts);\r\nrequest.get('http://www.nodejs.org').pipe(worker).pipe(process.stdout);\r\n```\r\n\r\nPlatform support\r\n----------------\r\n* Linux\r\n* Windows\r\n* OSX (experimental)\r\n\r\nChangelog\r\n---------\r\n    0.0.5 - Feb 25, 2013\r\n      - changes contributed by Keith Rosenberg\r\n    0.0.4 - Feb 23, 2013\r\n      - fixed error in package.json\r\n    0.0.3 - Jan 11, 2013\r\n      - fixed engine version error\r\n    0.0.2 - Oct 5, 2012\r\n      - node Stream support, pipe and so on\r\n      - more examples\r\n      - example with worker pool for web front ends\r\n      - experimental support for osx #1\r\n    0.0.1 - Sep 29, 2012\r\n      - First NPM release\r\n\r\nCredits\r\n-------\r\n* [HTML Tidy Library Project](http://tidy.sourceforge.net/)\r\n* [HTML Tidy for HTML5](http://w3c.github.com/tidy-html5/)\r\n* [Michael Leaney](http://stackoverflow.com/a/8220285/770155)\r\n\r\n\r\n\r\n","readmeFilename":"README.md","_id":"htmltidy@0.0.5","dist":{"shasum":"bfe07c00db48b1741be59289f8a63c38db1bc299","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.5.tgz","integrity":"sha512-PbYUUNKAqoivbxGXe3HKsBwM4zKG0fvsDHdZT+yytMiF7azRSst1ZtiQMHOobcsfq8c3GH82//2rs+WG5dOtag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDe+Imn2mNKBNQMkXwxB9+nDdu5IZJlFKOlY/PQIqebAiEA98ZNjNpQommMz4uoiy/k+kf2KRMqcJ3ApvwXdbewz+E="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"directories":{}},"0.0.6":{"name":"htmltidy","description":"tidy bad html","version":"0.0.6","author":{"name":"lauris","email":"lauris@ma-1.lv"},"contributors":[{"name":"Keith Rosenberg","email":"kthrose@netpoetica.com"}],"main":"htmltidy.js","repository":{"type":"git","url":"git://github.com/vavere/htmltidy"},"engines":{"node":">= 0.6.0"},"os":["linux","win32","darwin"],"devDependencies":{"request":"~2.11.4","async":"~0.2.1"},"dependencies":{},"optionalDependencies":{},"readme":"HTML Tidy\n=========\n\nNode Wrapper for HTML Tidy\n\nWhat is HTML Tidy?\n-----------------\nHTML Tidy is an open source program for checking and generating clean XHTML/HTML.\nIt cleans up coding errors in HTML files and fixes bad formatting.\nIt can output files in the HTML, XHTML or XML file format.\n\nUsing HTML Tidy, developers can programatically clean up and fix poorly-written HTML pages.\nAnother use is to convert HTML to XHTML or XML.\nThese files can then be easily processed using the tools in the traditional XML chain,\nsuch as XSL transforms.\n\nInstallation\n------------\nTo use this library simply install it using [npm](http://npmjs.org/):\n\n    npm install htmltidy\n\nExample\n-------\n\n```javascript\nvar tidy = require('htmltidy').tidy;\ntidy('<table><tr><td>badly formatted html</tr>', function(err, html) {\n    console.log(html);\n});\n```\n\nAPI\n---\n__tidy(text, [options], callback)__\n\nClean html like text according optional configuration [tidy options](http://w3c.github.com/tidy-html5/quickref.html).\n\n```javascript\nvar opts = {\n    doctype: 'html5',\n    hideComments: false, //  multi word options can use a hyphen or \"camel case\"\n    indent: true\n}\n```\n__createWorker([options])__\n\nCreate transform stream which can receive html like data as writable stream and output cleaned html/xml as readable stream.\n\n```javascript\nvar worker = tidy.createWorker(opts);\nrequest.get('http://www.nodejs.org').pipe(worker).pipe(process.stdout);\n```\n\nPlatform support\n----------------\n* Linux\n* Windows\n* OSX (experimental)\n\nChangelog\n---------\n    0.0.6 - Apr 18, 2013\n      - bug fix update\n    0.0.5 - Feb 25, 2013\n      - changes contributed by Keith Rosenberg\n    0.0.4 - Feb 23, 2013\n      - fixed error in package.json\n    0.0.3 - Jan 11, 2013\n      - fixed engine version error\n    0.0.2 - Oct 5, 2012\n      - node Stream support, pipe and so on\n      - more examples\n      - example with worker pool for web front ends\n      - experimental support for osx #1\n    0.0.1 - Sep 29, 2012\n      - First NPM release\n\nCredits\n-------\n* [HTML Tidy Library Project](http://tidy.sourceforge.net/)\n* [HTML Tidy for HTML5](http://w3c.github.com/tidy-html5/)\n* [Michael Leaney](http://stackoverflow.com/a/8220285/770155)\n\n\n\n","readmeFilename":"README.md","_id":"htmltidy@0.0.6","dist":{"shasum":"1074e2b8ef1ac5aad1e16c3cb1478cf229989d68","tarball":"https://registry.npmjs.org/htmltidy/-/htmltidy-0.0.6.tgz","integrity":"sha512-urTa5/BV9ailVv4nfS0canfojF8BpgWXRzDPHzSm6EsufZkwhrj9eW46tGVX6JoWqlQzRNEjiuEmA5EX7KQceA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA56ufjxT0pGEba45r4NvFG7K+CDJVM8xPmpR6nBou3dAiAVYKLICb7SNgfUOKQ30JlIaaQQWdwQVN6wQ8xXaHaLvQ=="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"lauris","email":"lauris@ma-1.lv"},"maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}]}},"readme":"HTML Tidy\r\n=========\r\n\r\nNode Wrapper for HTML Tidy\r\n\r\nWhat is HTML Tidy?\r\n-----------------\r\nHTML Tidy is an open source program for checking and generating clean XHTML/HTML. \r\nIt cleans up coding errors in HTML files and fixes bad formatting. \r\nIt can output files in the HTML, XHTML or XML file format.\r\n\r\nUsing HTML Tidy, developers can programatically clean up and fix poorly-written HTML pages. \r\nAnother use is to convert HTML to XHTML or XML. \r\nThese files can then be easily processed using the tools in the traditional XML chain, \r\nsuch as XSL transforms.\r\n\r\nInstallation\r\n------------\r\nTo use this library simply install it using [npm](http://npmjs.org/):\r\n\r\n    npm install htmltidy\r\n    \r\nExample\r\n-------\r\n\r\n```javascript\r\nvar tidy = require('htmltidy').tidy;\r\ntidy('<table><tr><td>badly formatted html</tr>', function(err, html) { \r\n    console.log(html); \r\n});\r\n```\r\n\r\nAPI\r\n---\r\n__htmltidy.tidy(text, [options], callback)__\r\n\r\nTidy html like text according optional configuration [options](http://w3c.github.com/tidy-html5/quickref.html).\r\n\r\n```javascript\r\nvar opts = {\r\n    'doctype':'html5',\r\n    'tidy-mark':false,\r\n    'indent':true\r\n}\r\n```\r\n    \r\nPlatform support\r\n----------------\r\n* Linux\r\n* Windows 32/64\r\n\r\nCredits\r\n-------\r\n* [HTML Tidy Library Project](http://tidy.sourceforge.net/)\r\n* [HTML Tidy for HTML5](http://w3c.github.com/tidy-html5/)\r\n* [Michael Leaney](http://stackoverflow.com/a/8220285/770155)\r\n\r\n\r\n\r\n","maintainers":[{"name":"lauris","email":"lauris@ma-1.lv"}],"time":{"modified":"2022-06-18T22:07:46.651Z","created":"2012-09-29T16:01:08.762Z","0.0.1":"2012-09-29T16:01:11.504Z","0.0.2":"2012-10-05T16:12:01.106Z","0.0.3":"2013-01-11T08:56:17.524Z","0.0.4":"2013-02-23T11:34:38.043Z","0.0.5":"2013-02-25T14:41:32.826Z","0.0.6":"2013-04-18T09:21:36.015Z"},"author":{"name":"lauris","email":"lauris@ma-1.lv"},"users":{"jden":true,"kastor":true,"brugnara":true,"shinelin":true,"jsdnxx":true,"morewry":true},"repository":{"type":"git","url":"git://github.com/vavere/htmltidy"}}