We hate "hackers" and chucklefucks _this_ much.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Rob Colbert e311aab85a project created 1 month ago
dist project created 1 month ago
src project created 1 month ago
types project created 1 month ago
.gitignore project created 1 month ago
LICENSE project created 1 month ago
README.md project created 1 month ago
index.js project created 1 month ago
package.json project created 1 month ago
pnpm-lock.yaml project created 1 month ago
tsconfig.json project created 1 month ago

README.md

DTP CleanText

We hate "hackers" and chucklefucks this much. For real for real. Cap.

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