abuseipdb-client 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 +16 -0
- package/README.md +189 -0
- package/dist/index.js +5292 -0
- package/dist/index.mjs +602 -0
- package/dist/types/index.d.ts +754 -0
- package/package.json +93 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "abuseipdb-client",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "AbuseIPDB Node.js API client.",
|
|
6
|
+
"author": "Arthur Melo <contact@arthurmelo.com>",
|
|
7
|
+
"homepage": "https://github.com/arthur-melo/abuseipdb-client",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=14.18.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"types": "./dist/types/index.d.ts",
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"module": "./dist/index.mjs",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/types/index.d.ts",
|
|
19
|
+
"require": "./dist/index.js",
|
|
20
|
+
"import": "./dist/index.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"clean": "rimraf dist",
|
|
32
|
+
"build": "npm run clean && rollup --config rollup.config.js",
|
|
33
|
+
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage",
|
|
34
|
+
"lint": "prettier -w '{lib,test}/**/*.ts' && eslint --fix '{lib,test}/**/*.ts'",
|
|
35
|
+
"docs": "typedoc",
|
|
36
|
+
"prepublishOnly": "npm run test && npm run build",
|
|
37
|
+
"prepare": "husky install"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"fetch-blob": "^3.2.0",
|
|
41
|
+
"formdata-polyfill": "^4.0.10",
|
|
42
|
+
"isomorphic-unfetch": "^3.1.0",
|
|
43
|
+
"validator": "^13.7.0",
|
|
44
|
+
"zod": "^3.20.2"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@jest/globals": "^29.3.1",
|
|
48
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
49
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
50
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
51
|
+
"@types/jest": "^29.2.4",
|
|
52
|
+
"@types/node-fetch": "^2.6.2",
|
|
53
|
+
"@types/validator": "^13.7.10",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
|
55
|
+
"@typescript-eslint/parser": "^5.47.0",
|
|
56
|
+
"cross-env": "^7.0.3",
|
|
57
|
+
"dotenv": "^16.0.3",
|
|
58
|
+
"eslint": "^8.30.0",
|
|
59
|
+
"eslint-config-prettier": "^8.5.0",
|
|
60
|
+
"eslint-plugin-jest": "^27.1.7",
|
|
61
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
62
|
+
"husky": "^8.0.2",
|
|
63
|
+
"jest": "^29.3.1",
|
|
64
|
+
"jest-extended": "^3.2.0",
|
|
65
|
+
"jest-fetch-mock": "^3.0.3",
|
|
66
|
+
"jsonapi-typescript": "^0.1.3",
|
|
67
|
+
"lint-staged": "^13.1.0",
|
|
68
|
+
"prettier": "^2.8.1",
|
|
69
|
+
"rimraf": "^3.0.2",
|
|
70
|
+
"rollup": "^3.7.5",
|
|
71
|
+
"rollup-plugin-bundle-size": "^1.0.3",
|
|
72
|
+
"rollup-plugin-dts": "^5.0.0",
|
|
73
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
74
|
+
"ts-jest": "^29.0.3",
|
|
75
|
+
"ts-node": "^10.9.1",
|
|
76
|
+
"tslib": "^2.4.1",
|
|
77
|
+
"typedoc": "^0.23.23",
|
|
78
|
+
"typedoc-plugin-replace-text": "^2.1.0",
|
|
79
|
+
"typescript": "^4.9.4"
|
|
80
|
+
},
|
|
81
|
+
"repository": {
|
|
82
|
+
"type": "git",
|
|
83
|
+
"url": "git+https://github.com/arthur-melo/abuseipdb-client.git"
|
|
84
|
+
},
|
|
85
|
+
"bugs": {
|
|
86
|
+
"url": "https://github.com/arthur-melo/abuseipdb-client/issues"
|
|
87
|
+
},
|
|
88
|
+
"keywords": [
|
|
89
|
+
"typescript",
|
|
90
|
+
"abuseipdb",
|
|
91
|
+
"node"
|
|
92
|
+
]
|
|
93
|
+
}
|