UNPKG

@foxxie/sanitize

Version:

Sanitize and clean character strings.

63 lines (62 loc) 1.69 kB
{ "name": "@foxxie/sanitize", "version": "0.0.0", "description": "Sanitize and clean character strings.", "scripts": { "build": "rm -r -f dist && tsup", "lint": "prettier --check . && eslint src --ext mjs,js,ts", "test": "jest --pass-with-no-tests --collect-coverage --verbose", "format": "prettier --write . && eslint src --ext mjs,js,ts --fix", "changelog": "rm -f CHANGELOG.md && touch CHANGELOG.md && git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/sanitize/*'" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "typings": "./dist/index.d.ts", "exports": { "import": "./dist/index.mjs", "require": "./dist/index.js" }, "directories": { "lib": "src" }, "repository": { "type": "git", "url": "https://github.com/FoxxieBot/foxxie.git", "directory": "packages/sanitize" }, "bugs": { "url": "https://github.com/FoxxieBot/foxxie/issues" }, "files": [ "dist" ], "license": "MIT", "keywords": [ "foxxie", "latinize", "clean", "sanitizer" ], "devDependencies": { "@foxxie/eslint-config": "^0.0.2", "@types/jest": "^27.4.1", "@types/latinize": "^0.2.15", "@types/node": "17.0.23", "@types/unidecode": "^0.1.1", "@types/unorm": "^1.3.28", "@typescript-eslint/eslint-plugin": "5.17.0", "@typescript-eslint/parser": "5.17.0", "eslint": "8.12.0", "jest": "^27.5.1", "prettier": "2.6.1", "tsup": "5.12.1", "typescript": "4.6.3" }, "private": false, "dependencies": { "latinize": "^0.5.0", "remove-accents": "^0.4.2", "unidecode": "^0.1.8", "unorm": "^1.6.0" } }