1.0.2 • Published 9 years ago
kevbook.text-cleanup v1.0.2
text-cleanup
All purpose Text-cleanup for nodeJS apps.
- Strips html tags (similar to PHP 5.5's strip_tags, php_strip_tags_ex)
- Normalizes whitepsace characters to \t \n and space
- Trims each paragraph
Usage
var textCleanup = require('kevbook.text-cleanup');
// Cleaned text
console.log(textCleanup('some text'));