@se-oss/ip-address 1.0.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,63 @@
1
+ {
2
+ "name": "@se-oss/ip-address",
3
+ "version": "1.0.0",
4
+ "description": "A modern, immutable, and zero-dependency library for working with IPv4 and IPv6 addresses in JavaScript and TypeScript.",
5
+ "keywords": [
6
+ "ip",
7
+ "ipv4",
8
+ "ipv6",
9
+ "cidr",
10
+ "address",
11
+ "network",
12
+ "subnet",
13
+ "parser",
14
+ "validator",
15
+ "typescript",
16
+ "javascript"
17
+ ],
18
+ "homepage": "https://github.com/shahradelahi/ip-address",
19
+ "repository": "github:shahradelahi/ip-address",
20
+ "license": "MIT",
21
+ "author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
22
+ "type": "module",
23
+ "exports": {
24
+ ".": {
25
+ "import": "./dist/index.js",
26
+ "default": "./dist/index.cjs"
27
+ }
28
+ },
29
+ "main": "dist/index.js",
30
+ "types": "dist/index.d.ts",
31
+ "files": [
32
+ "dist/**",
33
+ "!**/*.d.cts"
34
+ ],
35
+ "scripts": {
36
+ "bench": "vitest bench --run",
37
+ "build": "pnpm typecheck && tsup",
38
+ "clean": "git clean -dfx node_modules dist .tsbuildinfo",
39
+ "dev": "tsup --watch",
40
+ "format": "prettier --write .",
41
+ "format:check": "prettier --check .",
42
+ "lint": "pnpm typecheck && eslint .",
43
+ "lint:fix": "eslint --fix .",
44
+ "prepublishOnly": "pnpm build && pnpm lint && pnpm format:check && pnpm test",
45
+ "test": "vitest --run",
46
+ "typecheck": "tsc --noEmit"
47
+ },
48
+ "prettier": "@shahrad/prettier-config",
49
+ "devDependencies": {
50
+ "@shahrad/eslint-config": "^1.0.1",
51
+ "@shahrad/prettier-config": "^1.2.2",
52
+ "@shahrad/tsconfig": "^1.2.0",
53
+ "@types/node": "^24.7.0",
54
+ "eslint": "^9.37.0",
55
+ "globals": "^16.4.0",
56
+ "prettier": "^3.6.2",
57
+ "tsup": "^8.5.0",
58
+ "tsx": "^4.20.6",
59
+ "typescript": "^5.9.3",
60
+ "vitest": "^3.2.4"
61
+ },
62
+ "packageManager": "pnpm@10.15.0"
63
+ }