@cbortech/cbor 0.23.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/LICENSE +201 -0
- package/README.ja.md +479 -0
- package/README.md +488 -0
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +695 -0
- package/dist/index.js +4052 -0
- package/dist/index.js.map +1 -0
- package/package.json +85 -0
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cbortech/cbor",
|
|
3
|
+
"version": "0.23.0",
|
|
4
|
+
"description": "Convert between CBOR, CBOR-EDN, and JavaScript values",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cbor",
|
|
7
|
+
"cbor-edn",
|
|
8
|
+
"edn",
|
|
9
|
+
"diagnostic-notation",
|
|
10
|
+
"json",
|
|
11
|
+
"jsonc",
|
|
12
|
+
"binary",
|
|
13
|
+
"serialization",
|
|
14
|
+
"typescript"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://cbor.tech/",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/cbortech/cbor.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/cbortech/cbor/issues"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"license": "Apache-2.0",
|
|
28
|
+
"author": "Yasuhiro Kudo <ykudo@ykudo.org>",
|
|
29
|
+
"type": "module",
|
|
30
|
+
"main": "./dist/index.cjs",
|
|
31
|
+
"module": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"default": "./dist/index.cjs"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"sideEffects": false,
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "vite build",
|
|
51
|
+
"watch": "vite build --watch",
|
|
52
|
+
"typecheck": "tsc --noEmit",
|
|
53
|
+
"start": "node dist/index.js",
|
|
54
|
+
"dev": "npm run build && npm start",
|
|
55
|
+
"clean": "node -e \"['dist','coverage'].forEach(d=>require('fs').rmSync(d,{recursive:true,force:true}))\"",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:vectors": "vitest run --config vitest.vectors.config.ts",
|
|
58
|
+
"test:node": "vitest run",
|
|
59
|
+
"test:chromium": "BROWSER=chromium vitest run --config vitest.browser.config.ts",
|
|
60
|
+
"test:firefox": "BROWSER=firefox vitest run --config vitest.browser.config.ts",
|
|
61
|
+
"test:webkit": "BROWSER=webkit vitest run --config vitest.browser.config.ts",
|
|
62
|
+
"test:all": "npm run test:node && npm run test:chromium && npm run test:firefox && npm run test:webkit",
|
|
63
|
+
"test:watch": "vitest",
|
|
64
|
+
"test:ui": "vitest --ui",
|
|
65
|
+
"test:coverage": "vitest run --coverage",
|
|
66
|
+
"format": "prettier --write .",
|
|
67
|
+
"format:check": "prettier --check ."
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@types/node": "^24.12.2",
|
|
71
|
+
"@vitest/browser": "^4.1.5",
|
|
72
|
+
"@vitest/browser-playwright": "^4.1.5",
|
|
73
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
74
|
+
"@vitest/ui": "^4.1.5",
|
|
75
|
+
"playwright": "^1.59.1",
|
|
76
|
+
"prettier": "^3.8.3",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"vite": "^8.0.11",
|
|
79
|
+
"vite-plugin-dts": "^4.5.4",
|
|
80
|
+
"vitest": "^4.1.5"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@noble/hashes": "^2.2.0"
|
|
84
|
+
}
|
|
85
|
+
}
|