lib-qqwry-next 2.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/index.d.cts ADDED
@@ -0,0 +1,3 @@
1
+ declare const libqqwry: typeof import("./dist/index").default;
2
+
3
+ export = libqqwry;
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "lib-qqwry-next",
3
+ "version": "2.1.0",
4
+ "description": "Using NodeJS analytical IP Library (qqwry.dat/qqwry.ipdb) module.",
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": "./index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "index.d.cts"
24
+ ],
25
+ "scripts": {
26
+ "build": "tsup",
27
+ "test": "vitest run",
28
+ "test:watch": "vitest",
29
+ "test:bench": "vitest bench",
30
+ "prepublishOnly": "pnpm build"
31
+ },
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/WhY15w/lib-qqwry.git"
35
+ },
36
+ "keywords": [
37
+ "qqwry",
38
+ "纯真IP库",
39
+ "IP地址"
40
+ ],
41
+ "author": {
42
+ "name": "HurryWang"
43
+ },
44
+ "license": "BSD",
45
+ "dependencies": {
46
+ "gbk.js": "^0.2.4"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^22.19.19",
50
+ "tsup": "^8.5.1",
51
+ "typescript": "^5.9.3",
52
+ "vitest": "^3.2.4"
53
+ }
54
+ }