js-cloudip 0.1.0 → 0.1.2

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # js-cloudip
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/js-cloudip.svg)](https://www.npmjs.com/package/js-cloudip)
4
+ [![npm downloads](https://img.shields.io/npm/dm/js-cloudip.svg)](https://www.npmjs.com/package/js-cloudip)
5
+ [![bundle size](https://img.shields.io/bundlephobia/minzip/js-cloudip)](https://bundlephobia.com/package/js-cloudip)
6
+ [![CI](https://github.com/rezmoss/js-cloudip/actions/workflows/ci.yml/badge.svg)](https://github.com/rezmoss/js-cloudip/actions/workflows/ci.yml)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
+ [![types](https://img.shields.io/npm/types/js-cloudip)](https://www.npmjs.com/package/js-cloudip)
9
+
3
10
  Fast cloud-provider IP detection for Node.js and the browser — the JavaScript port of [go-cloudip](https://github.com/rezmoss/go-cloudip).
4
11
 
5
12
  Determine if an IP belongs to **AWS, GCP, Azure, Cloudflare, DigitalOcean, or Oracle Cloud**, with sub-millisecond lookups using a binary CIDR trie. Plus a forward-lookup mode JS apps actually want: *"give me every Cloudflare CIDR."*
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-cloudip",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
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
5
  "keywords": [
6
6
  "cloud",
@@ -76,6 +76,6 @@
76
76
  "tsup": "^8.0.0",
77
77
  "tsx": "^4.7.0",
78
78
  "typescript": "^5.3.0",
79
- "vitest": "^1.2.0"
79
+ "vitest": "^4.1.7"
80
80
  }
81
81
  }