Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@munesoft/phonex",
"version": "1.0.0",
"description": "AI-first phone number validation, parsing, formatting, risk detection, and intelligence library for JavaScript and TypeScript. A modern, modular alternative to libphonenumber-js with built-in caching, AI mode, and zero dependencies.",
"author": "munesoft",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core": {
"types": "./dist/entry-core.d.ts",
"import": "./dist/entry-core.js",
"require": "./dist/entry-core.cjs"
},
"./validate": {
"types": "./dist/entry-validate.d.ts",
"import": "./dist/entry-validate.js",
"require": "./dist/entry-validate.cjs"
},
"./risk": {
"types": "./dist/entry-risk.d.ts",
"import": "./dist/entry-risk.js",
"require": "./dist/entry-risk.cjs"
},
"./input": {
"types": "./dist/entry-input.d.ts",
"import": "./dist/entry-input.js",
"require": "./dist/entry-input.cjs"
},
"./analytics": {
"types": "./dist/entry-analytics.d.ts",
"import": "./dist/entry-analytics.js",
"require": "./dist/entry-analytics.cjs"
},
"./middleware": {
"types": "./dist/entry-middleware.d.ts",
"import": "./dist/entry-middleware.js",
"require": "./dist/entry-middleware.cjs"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/munesoft/phonex.git"
},
"bugs": {
"url": "https://github.com/munesoft/phonex/issues"
},
"homepage": "https://github.com/munesoft/phonex#readme",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup && node scripts/postbuild.mjs",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.6.0"
},
"keywords": [
"phone",
"phone-number",
"validation",
"validator",
"parser",
"format",
"international",
"e164",
"libphonenumber",
"libphonenumber-alternative",
"ai",
"carrier",
"risk-detection",
"spam-detection",
"kyc",
"otp",
"sms",
"whatsapp",
"typescript",
"nodejs",
"browser",
"edge",
"zero-dependency"
],
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
}
}