@nexim/sanitizer
Version:
A collection of sanitization utilities for phone numbers and numeric inputs with TypeScript type safety.
114 lines (113 loc) • 2.7 kB
JSON
{
"name": "@nexim/sanitizer",
"version": "1.1.0",
"description": "A collection of sanitization utilities for phone numbers and numeric inputs with TypeScript type safety.",
"keywords": [
"sanitizer",
"phone",
"number",
"validation",
"typescript",
"nexim"
],
"homepage": "https://github.com/the-nexim/nanolib/tree/next/packages/sanitizer#readme",
"bugs": {
"url": "https://github.com/the-nexim/nanolib/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/the-nexim/nanolib",
"directory": "packages/sanitizer"
},
"license": "AGPL-3.0-only",
"author": "S. Amir Mohammad Najafi <njfamirm@gmail.com> (https://www.njfamirm.ir)",
"type": "module",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
}
},
"main": "./dist/main.cjs",
"module": "./dist/main.mjs",
"types": "./dist/main.d.ts",
"files": [
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
"LICENSE",
"!**/*.test.js"
],
"scripts": {
"build": "wireit",
"doc": "wireit",
"test": "wireit",
"watch": "wireit"
},
"dependencies": {
"@alwatr/is-number": "^5.7.0",
"@alwatr/logger": "^5.5.3",
"@alwatr/package-tracer": "^5.5.3",
"@alwatr/unicode-digits": "^5.5.3"
},
"devDependencies": {
"@alwatr/nano-build": "^5.5.3",
"@nexim/typescript-config": "^2.0.1",
"ava": "^6.4.0",
"typedoc": "^0.28.5",
"typedoc-plugin-markdown": "^4.6.4",
"typedoc-plugin-no-inherit": "^1.6.1",
"typescript": "^5.8.3",
"wireit": "^0.14.12"
},
"publishConfig": {
"access": "public"
},
"nano-build": {
"platform": "browser"
},
"wireit": {
"test": {
"command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava"
},
"build": {
"dependencies": [
"build:type",
"build:es"
]
},
"build:es": {
"command": "yarn nano-build --preset=module",
"files": [
"src",
"tsconfig.json"
],
"clean": "if-file-deleted",
"output": [
"dist",
"tsconfig.tsbuildinfo"
]
},
"build:type": {
"command": "tsc --build"
},
"watch": {
"dependencies": [
"watch:ts"
]
},
"watch:ts": {
"command": "tsc --build --watch --preserveWatchOutput",
"dependencies": [
"watch:es"
]
},
"watch:es": {
"command": "yarn nano-build --preset=module -- --watch",
"service": true
},
"doc": {
"command": "typedoc"
}
},
"gitHead": "b98c4af4c1d206ce778413fa9061f85c8748ac58"
}