This is a simple tool to extract the text from HTML fragments.
- Check out the code.
npm install
npm test
—runs the tests (which also happens on pre-commit).npm run example
—runs the example script (it is expected that this returns an error, as it should correctly find a misspelling).