utf8-sanitize
Version:
A performant zero-dependency utility to clean UTF-8 text, fix mojibake from latin1, verify string length, and sanitize input
50 lines (49 loc) • 1.18 kB
JSON
{
"name": "utf8-sanitize",
"version": "1.0.2",
"description": "A performant zero-dependency utility to clean UTF-8 text, fix mojibake from latin1, verify string length, and sanitize input",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/charuse/utf8-sanitize.git"
},
"keywords": [
"utf8",
"utf-8",
"sanitize",
"sanitization",
"zero-dependencies",
"zero-dependency",
"mojibake",
"latin1",
"performant",
"lightweight",
"xss",
"verify-length",
"verify-text-length",
"text-length",
"text-length-verify",
"string-repair",
"text-cleaning",
"text-processing",
"encoding",
"encoding-fix",
"input-sanitization",
"validator",
"validation",
"secure",
"security",
"input",
"safe-string",
"data-pipeline"
],
"author": "charuse",
"license": "MIT",
"bugs": {
"url": "https://github.com/charuse/utf8-sanitize/issues"
},
"homepage": "https://github.com/charuse/utf8-sanitize#readme"
}