kevbook.text-cleanup

1.0.2 • Public • Published

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'));

Readme

Keywords

none

Package Sidebar

Install

npm i kevbook.text-cleanup

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • kevbook