zero-contact 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -0
- package/dist/index.cjs +572 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +566 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/en.cjs +48 -0
- package/dist/locales/en.cjs.map +1 -0
- package/dist/locales/en.d.cts +5 -0
- package/dist/locales/en.d.ts +5 -0
- package/dist/locales/en.js +46 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/index.cjs +79 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.cts +3 -0
- package/dist/locales/index.d.ts +3 -0
- package/dist/locales/index.js +76 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/tr.cjs +55 -0
- package/dist/locales/tr.cjs.map +1 -0
- package/dist/locales/tr.d.cts +5 -0
- package/dist/locales/tr.d.ts +5 -0
- package/dist/locales/tr.js +53 -0
- package/dist/locales/tr.js.map +1 -0
- package/dist/types-C4A9Bbv7.d.cts +30 -0
- package/dist/types-C4A9Bbv7.d.ts +30 -0
- package/package.json +97 -0
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zero-contact",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Detect obfuscated phone numbers in text — numeric, word, emoji, and mixed formats",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./locales": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/locales/index.d.ts",
|
|
23
|
+
"default": "./dist/locales/index.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/locales/index.d.cts",
|
|
27
|
+
"default": "./dist/locales/index.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./locales/tr": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/locales/tr.d.ts",
|
|
33
|
+
"default": "./dist/locales/tr.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/locales/tr.d.cts",
|
|
37
|
+
"default": "./dist/locales/tr.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./locales/en": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/locales/en.d.ts",
|
|
43
|
+
"default": "./dist/locales/en.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/locales/en.d.cts",
|
|
47
|
+
"default": "./dist/locales/en.cjs"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist"
|
|
53
|
+
],
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:watch": "vitest",
|
|
58
|
+
"bench": "vitest bench tests/bench.bench.ts --run",
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"prepublishOnly": "npm run build && npm test"
|
|
61
|
+
},
|
|
62
|
+
"keywords": [
|
|
63
|
+
"phone",
|
|
64
|
+
"detection",
|
|
65
|
+
"moderation",
|
|
66
|
+
"obfuscation",
|
|
67
|
+
"contact",
|
|
68
|
+
"spam",
|
|
69
|
+
"turkish",
|
|
70
|
+
"english",
|
|
71
|
+
"emoji"
|
|
72
|
+
],
|
|
73
|
+
"license": "MIT",
|
|
74
|
+
"repository": {
|
|
75
|
+
"type": "git",
|
|
76
|
+
"url": "git+https://github.com/hocestnonsatis/zero-contact.git"
|
|
77
|
+
},
|
|
78
|
+
"bugs": {
|
|
79
|
+
"url": "https://github.com/hocestnonsatis/zero-contact/issues"
|
|
80
|
+
},
|
|
81
|
+
"homepage": "https://github.com/hocestnonsatis/zero-contact#readme",
|
|
82
|
+
"publishConfig": {
|
|
83
|
+
"access": "public",
|
|
84
|
+
"provenance": true
|
|
85
|
+
},
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"tsup": "^8.4.0",
|
|
88
|
+
"typescript": "^5.8.2",
|
|
89
|
+
"vitest": "^3.0.9"
|
|
90
|
+
},
|
|
91
|
+
"overrides": {
|
|
92
|
+
"esbuild": "^0.28.1"
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"node": ">=18"
|
|
96
|
+
}
|
|
97
|
+
}
|