@koreshield/koreshield 0.1.4
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 +21 -0
- package/README.md +351 -0
- package/dist/browser/index.d.ts +201 -0
- package/dist/browser/index.global.js +15618 -0
- package/dist/browser/index.global.js.map +1 -0
- package/dist/index.d.mts +201 -0
- package/dist/index.d.ts +201 -0
- package/dist/index.js +332 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +286 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +82 -0
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@koreshield/koreshield",
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "JavaScript/TypeScript SDK for KoreShield LLM Security Proxy",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsup && npm run build:browser",
|
|
17
|
+
"build:node": "tsup",
|
|
18
|
+
"build:browser": "tsup --format iife --global-name KoreShield --out-dir dist/browser",
|
|
19
|
+
"dev": "tsup --watch",
|
|
20
|
+
"test": "jest",
|
|
21
|
+
"test:watch": "jest --watch",
|
|
22
|
+
"lint": "eslint src/**/*.ts",
|
|
23
|
+
"lint:fix": "eslint src/**/*.ts --fix",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"docs": "typedoc",
|
|
26
|
+
"prepublishOnly": "npm run build && npm run test"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"llm",
|
|
30
|
+
"security",
|
|
31
|
+
"proxy",
|
|
32
|
+
"openai",
|
|
33
|
+
"anthropic",
|
|
34
|
+
"ai-safety",
|
|
35
|
+
"typescript",
|
|
36
|
+
"javascript"
|
|
37
|
+
],
|
|
38
|
+
"author": "KoreShield Team",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "https://github.com/koreshield/koreshield.git",
|
|
43
|
+
"directory": "koreshield-js-sdk"
|
|
44
|
+
},
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/koreshield/koreshield/issues"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://koreshield.com",
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=16.0.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/jest": "^29.5.0",
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
56
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
57
|
+
"eslint": "^8.0.0",
|
|
58
|
+
"jest": "^29.5.0",
|
|
59
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
60
|
+
"ts-jest": "^29.1.0",
|
|
61
|
+
"tsup": "^7.0.0",
|
|
62
|
+
"typedoc": "^0.25.0",
|
|
63
|
+
"typescript": "^5.0.0"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"axios": "^1.6.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"openai": "^4.0.0",
|
|
70
|
+
"axios": "^1.6.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"openai": {
|
|
74
|
+
"optional": true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"files": [
|
|
78
|
+
"dist",
|
|
79
|
+
"README.md",
|
|
80
|
+
"LICENSE"
|
|
81
|
+
]
|
|
82
|
+
}
|