dgii-ts 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/LICENSE +21 -0
- package/README.en.md +192 -0
- package/README.md +196 -0
- package/dist/bulk.cjs +11 -0
- package/dist/bulk.d.cts +30 -0
- package/dist/bulk.d.ts +30 -0
- package/dist/bulk.js +11 -0
- package/dist/chunk-2ST6QKHA.cjs +1 -0
- package/dist/chunk-4OYLCOUL.cjs +201 -0
- package/dist/chunk-4TKAQ4WV.js +198 -0
- package/dist/chunk-53A7IG4Y.js +23 -0
- package/dist/chunk-6CIP7YH6.cjs +198 -0
- package/dist/chunk-7RJWFPCZ.cjs +44 -0
- package/dist/chunk-D26S6EXD.js +12 -0
- package/dist/chunk-DMGDJEUY.js +44 -0
- package/dist/chunk-ERBXSS64.js +0 -0
- package/dist/chunk-EZKSB553.js +0 -0
- package/dist/chunk-FZ6QDTC4.cjs +98 -0
- package/dist/chunk-HGE4QZ3H.js +281 -0
- package/dist/chunk-HR4DCHH7.js +201 -0
- package/dist/chunk-KIS7MVIW.js +98 -0
- package/dist/chunk-QH4BK5X3.cjs +12 -0
- package/dist/chunk-QOSGH7F5.cjs +1 -0
- package/dist/chunk-SUSDEKID.cjs +784 -0
- package/dist/chunk-TZC6RSWL.js +784 -0
- package/dist/chunk-VJ4ZQQIQ.cjs +281 -0
- package/dist/chunk-WY6V4Y7S.cjs +23 -0
- package/dist/client.cjs +17 -0
- package/dist/client.d.cts +95 -0
- package/dist/client.d.ts +95 -0
- package/dist/client.js +17 -0
- package/dist/errors.cjs +14 -0
- package/dist/errors.d.cts +40 -0
- package/dist/errors.d.ts +40 -0
- package/dist/errors.js +14 -0
- package/dist/index-CS-7YY2y.d.cts +58 -0
- package/dist/index-CS-7YY2y.d.ts +58 -0
- package/dist/index.cjs +66 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +66 -0
- package/dist/scraping.cjs +16 -0
- package/dist/scraping.d.cts +47 -0
- package/dist/scraping.d.ts +47 -0
- package/dist/scraping.js +16 -0
- package/dist/soap.cjs +23 -0
- package/dist/soap.d.cts +38 -0
- package/dist/soap.d.ts +38 -0
- package/dist/soap.js +23 -0
- package/dist/validators.cjs +17 -0
- package/dist/validators.d.cts +55 -0
- package/dist/validators.d.ts +55 -0
- package/dist/validators.js +17 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dgii-ts",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Librería TypeScript para validación e integración con la DGII de República Dominicana — RNC, Cédula, NCF, e-NCF",
|
|
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
|
+
"./validators": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/validators.d.ts",
|
|
23
|
+
"default": "./dist/validators.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/validators.d.cts",
|
|
27
|
+
"default": "./dist/validators.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./soap": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/soap.d.ts",
|
|
33
|
+
"default": "./dist/soap.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/soap.d.cts",
|
|
37
|
+
"default": "./dist/soap.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./bulk": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/bulk.d.ts",
|
|
43
|
+
"default": "./dist/bulk.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/bulk.d.cts",
|
|
47
|
+
"default": "./dist/bulk.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"./scraping": {
|
|
51
|
+
"import": { "types": "./dist/scraping.d.ts", "default": "./dist/scraping.js" },
|
|
52
|
+
"require": { "types": "./dist/scraping.d.cts", "default": "./dist/scraping.cjs" }
|
|
53
|
+
},
|
|
54
|
+
"./client": {
|
|
55
|
+
"import": { "types": "./dist/client.d.ts", "default": "./dist/client.js" },
|
|
56
|
+
"require": { "types": "./dist/client.d.cts", "default": "./dist/client.cjs" }
|
|
57
|
+
},
|
|
58
|
+
"./errors": {
|
|
59
|
+
"import": { "types": "./dist/errors.d.ts", "default": "./dist/errors.js" },
|
|
60
|
+
"require": { "types": "./dist/errors.d.cts", "default": "./dist/errors.cjs" }
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"sideEffects": false,
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "vitest run",
|
|
70
|
+
"test:watch": "vitest",
|
|
71
|
+
"typecheck": "tsc --noEmit -p tsconfig.build.json",
|
|
72
|
+
"prepublishOnly": "npm run build"
|
|
73
|
+
},
|
|
74
|
+
"keywords": [
|
|
75
|
+
"dgii",
|
|
76
|
+
"rnc",
|
|
77
|
+
"cedula",
|
|
78
|
+
"ncf",
|
|
79
|
+
"ecf",
|
|
80
|
+
"dominican-republic",
|
|
81
|
+
"republica-dominicana",
|
|
82
|
+
"tax",
|
|
83
|
+
"impuestos",
|
|
84
|
+
"typescript"
|
|
85
|
+
],
|
|
86
|
+
"author": "TheMVProgrammer <franklin0415@hotmail.com>",
|
|
87
|
+
"license": "MIT",
|
|
88
|
+
"repository": {
|
|
89
|
+
"type": "git",
|
|
90
|
+
"url": "git+https://github.com/franklinmdev/dgii-ts.git"
|
|
91
|
+
},
|
|
92
|
+
"bugs": {
|
|
93
|
+
"url": "https://github.com/franklinmdev/dgii-ts/issues"
|
|
94
|
+
},
|
|
95
|
+
"homepage": "https://github.com/franklinmdev/dgii-ts#readme",
|
|
96
|
+
"engines": {
|
|
97
|
+
"node": ">=18"
|
|
98
|
+
},
|
|
99
|
+
"overrides": {
|
|
100
|
+
"vite": "^7.3.2"
|
|
101
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@types/node": "^18.19.130",
|
|
104
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
105
|
+
"tsup": "^8.0.0",
|
|
106
|
+
"typescript": "^5.4.0",
|
|
107
|
+
"vitest": "^3.0.0"
|
|
108
|
+
}
|
|
109
|
+
}
|