1.0.0 • Published 4 months ago

dtp-cleantext v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

DTP CleanText

We hate "hackers" and chucklefucks this much.

cleanText

Performs an unzalgo and striptags on the input text.

Usage

var DTP = require("dtp-cleantext");
const clean = DTP.cleanText(input);

filterText

A more comprehensive and complete filtering of input text that includes the filtering of nonsense, guff, HTML. Then, it performs a shoetest simplification, and removes all diacritics. It finishes with a call to cleanText for convenience.

Usage

var DTP = require("dtp-cleantext");

const filtered = DTP.filterText(input, options);
1.0.0

4 months ago