text-sanitizer
Usage example:
var sanitize = ;var input = "\n\n Some text with multiple new \n\n\n lines and \t\t\t tabs."input = ;// Output will be// Some text with multiple new \n lines and \t tabs.
Usage example:
var sanitize = ;var input = "\n\n Some text with multiple new \n\n\n lines and \t\t\t tabs."input = ;// Output will be// Some text with multiple new \n lines and \t tabs.
npm i text-sanitizer
0
0.0.3
ISC