js-cloudip 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/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "js-cloudip",
3
+ "version": "0.1.0",
4
+ "description": "Look up cloud provider IP ranges (AWS, GCP, Azure, Cloudflare, and 20+ more) in Node and the browser. Forward lookup (provider → IPs) and reverse lookup (IP → provider).",
5
+ "keywords": [
6
+ "cloud",
7
+ "ip",
8
+ "ip-ranges",
9
+ "cloud-ip",
10
+ "cloud-ip-ranges",
11
+ "cloud-provider-ips",
12
+ "aws",
13
+ "gcp",
14
+ "azure",
15
+ "cloudflare",
16
+ "fastly",
17
+ "cidr",
18
+ "geoip",
19
+ "reverse-lookup"
20
+ ],
21
+ "license": "MIT",
22
+ "author": "Rez Moss",
23
+ "homepage": "https://github.com/rezmoss/js-cloudip",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/rezmoss/js-cloudip.git"
27
+ },
28
+ "bugs": {
29
+ "url": "https://github.com/rezmoss/js-cloudip/issues"
30
+ },
31
+ "type": "module",
32
+ "main": "./dist/index.cjs",
33
+ "module": "./dist/index.js",
34
+ "types": "./dist/index.d.ts",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/index.d.ts",
38
+ "import": "./dist/index.js",
39
+ "require": "./dist/index.cjs"
40
+ },
41
+ "./embedded": {
42
+ "types": "./dist/embedded.d.ts",
43
+ "import": "./dist/embedded.js",
44
+ "require": "./dist/embedded.cjs"
45
+ },
46
+ "./package.json": "./package.json"
47
+ },
48
+ "bin": {
49
+ "cloudip": "./bin/cli.js"
50
+ },
51
+ "files": [
52
+ "dist",
53
+ "data/cloudip.msgpack.gz",
54
+ "bin",
55
+ "README.md",
56
+ "LICENSE"
57
+ ],
58
+ "engines": {
59
+ "node": ">=18"
60
+ },
61
+ "scripts": {
62
+ "build": "tsup",
63
+ "dev": "tsup --watch",
64
+ "test": "vitest run",
65
+ "test:watch": "vitest",
66
+ "typecheck": "tsc --noEmit",
67
+ "lint": "eslint . --ext .ts",
68
+ "fetch-data": "tsx scripts/fetch-data.ts",
69
+ "prepublishOnly": "npm run fetch-data && npm run build && npm test"
70
+ },
71
+ "dependencies": {
72
+ "@msgpack/msgpack": "^3.0.0"
73
+ },
74
+ "devDependencies": {
75
+ "@types/node": "^20.11.0",
76
+ "tsup": "^8.0.0",
77
+ "tsx": "^4.7.0",
78
+ "typescript": "^5.3.0",
79
+ "vitest": "^1.2.0"
80
+ }
81
+ }