@bbloker/sdk 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,97 @@
1
+ {
2
+ "name": "@bbloker/sdk",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "AI bot blocker SDK — shared intelligence network to detect and block AI crawlers",
6
+ "sideEffects": false,
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.cjs"
15
+ },
16
+ "./nextjs": {
17
+ "types": "./dist/adapters/nextjs.d.ts",
18
+ "import": "./dist/adapters/nextjs.js",
19
+ "require": "./dist/adapters/nextjs.cjs"
20
+ },
21
+ "./express": {
22
+ "types": "./dist/adapters/express.d.ts",
23
+ "import": "./dist/adapters/express.js",
24
+ "require": "./dist/adapters/express.cjs"
25
+ },
26
+ "./hono": {
27
+ "types": "./dist/adapters/hono.d.ts",
28
+ "import": "./dist/adapters/hono.js",
29
+ "require": "./dist/adapters/hono.cjs"
30
+ },
31
+ "./node": {
32
+ "types": "./dist/adapters/node.d.ts",
33
+ "import": "./dist/adapters/node.js",
34
+ "require": "./dist/adapters/node.cjs"
35
+ },
36
+ "./fastify": {
37
+ "types": "./dist/adapters/fastify.d.ts",
38
+ "import": "./dist/adapters/fastify.js",
39
+ "require": "./dist/adapters/fastify.cjs"
40
+ }
41
+ },
42
+ "files": [
43
+ "dist",
44
+ "README.md",
45
+ "LICENSE"
46
+ ],
47
+ "scripts": {
48
+ "build": "tsup",
49
+ "dev": "tsup --watch",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "lint": "tsc --noEmit",
53
+ "prepublishOnly": "npm run build"
54
+ },
55
+ "keywords": [
56
+ "bot-blocker",
57
+ "ai-crawler",
58
+ "middleware",
59
+ "security",
60
+ "web-scraping",
61
+ "gptbot",
62
+ "claudebot"
63
+ ],
64
+ "author": "Caio Ricciuti",
65
+ "license": "Apache-2.0",
66
+ "devDependencies": {
67
+ "@types/node": "^20.0.0",
68
+ "hono": "^4.11.8",
69
+ "next": "^16.1.6",
70
+ "tsup": "^8.0.0",
71
+ "typescript": "^5.4.0",
72
+ "vitest": "^2.0.0"
73
+ },
74
+ "peerDependencies": {
75
+ "express": ">=4.0.0",
76
+ "hono": ">=4.0.0",
77
+ "next": ">=13.0.0",
78
+ "fastify": ">=4.0.0"
79
+ },
80
+ "peerDependenciesMeta": {
81
+ "next": {
82
+ "optional": true
83
+ },
84
+ "express": {
85
+ "optional": true
86
+ },
87
+ "hono": {
88
+ "optional": true
89
+ },
90
+ "fastify": {
91
+ "optional": true
92
+ }
93
+ },
94
+ "engines": {
95
+ "node": ">=18.0.0"
96
+ }
97
+ }