Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuartcarnie/tidy2
Simple binding to libtidy; based off original tidy bindings for node by Martyn Garcia
https://github.com/stuartcarnie/tidy2
Last synced: 6 days ago
JSON representation
Simple binding to libtidy; based off original tidy bindings for node by Martyn Garcia
- Host: GitHub
- URL: https://github.com/stuartcarnie/tidy2
- Owner: stuartcarnie
- Created: 2012-10-19T19:44:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-19T20:02:09.000Z (about 12 years ago)
- Last Synced: 2024-12-08T17:38:08.164Z (30 days ago)
- Language: C++
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tidy2
libtidy bindings for node.js## usage
var tidy = require('tidy');
var cleaned = tidy.tidyString(inputHTML)## compatibility
tidy2 has been tested on OS X 10.8 and Ubuntu 12.04## future
* Expose all options as dictionary to `tidyString`## dependencies
### Ubuntu
* libtidy-dev – `sudo apt-get install libtidy-dev`
## attributions
tidy2 was based on the original tidy bindings by [Martyn Garcia](mailto:[email protected])## changelog
### v0.0.2
* Converted tidy, which would not build on OS X or Ubuntu
* Removed jsdom and other unnecessary dependencies
* Fixed significant memory leak
* Added additional options for sane conversion