UNPKG

e164num

Version:

**Light validation and manipulation of E.164 phone numbers.**

68 lines (67 loc) 1.41 kB
{ "name": "e164num", "version": "2.0.0", "type": "module", "exports": { ".": "./dist/index.js" }, "files": [ "dist", "!/**/__test__", "!*.test.*" ], "sideEffects": false, "engines": { "node": ">=20" }, "scripts": { "build": "tsc --build", "lint": "eslint .", "test": "vitest run", "smoke": "yarn build && yarn lint && yarn test", "-- PRE-COMMIT HOOKS --": "", "localAfterInstall": "is-ci || husky || true", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "packageManager": "yarn@4.3.0", "devDependencies": { "@eslint/js": "^9.31.0", "@tsconfig/strictest": "^2.0.5", "@types/node": "^24.0.13", "eslint": "^9.31.0", "husky": "^9.1.7", "is-ci": "^4.1.0", "lint-staged": "^16.1.2", "pinst": "^3.0.0", "prettier": "^3.6.2", "typescript": "^5.8.3", "typescript-eslint": "^8.36.0", "vitest": "^3.2.4" }, "prettier": { "tabWidth": 2, "semi": false, "singleQuote": true }, "repository": { "type": "git", "url": "https://github.com/ericvera/e164num" }, "keywords": [ "phone", "number", "e164", "international", "format", "parse", "validate", "mask", "telephone" ], "license": "MIT", "lint-staged": { "*.{ts,tsx,mjs}": "eslint --cache", "*": "prettier --ignore-unknown --write" } }