safe-shortid
Version:
A library for generating safe short IDs with inappropriate word filtering
37 lines • 782 B
JSON
{
"name": "safe-shortid",
"version": "1.0.0",
"description": "A library for generating safe short IDs with inappropriate word filtering",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"test": "bun test",
"prepublishOnly": "npm run build"
},
"keywords": [
"shortid",
"id",
"safe",
"filter",
"inappropriate",
"profanity"
],
"author": "minojiro",
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"@types/shortid": "^2.2.0",
"tsup": "^8.4.0",
"typescript": "^5.0.0"
},
"dependencies": {
"bad-words": "^4.0.0",
"shortid": "^2.2.17"
}
}