UNPKG

@dfinity/cbor

Version:

A small implementation of Concise Binary Object Representation (CBOR) in pure JavaScript.

57 lines (56 loc) 1.66 kB
{ "name": "@dfinity/cbor", "version": "0.2.2", "description": "A small implementation of Concise Binary Object Representation (CBOR) in pure JavaScript.", "author": "DFINITY Stiftung", "license": "Apache-2.0", "repository": "github:dfinity/cbor-js", "bugs": "https://github.com/dfinity/cbor-js/issues", "homepage": "https://dfinity.github.io/cbor-js", "keywords": [ "cbor", "data-format", "encoding", "decoding", "serialization", "deserialization" ], "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39", "scripts": { "build": "vite build && tsc -p ./tsconfig.types.json", "test": "vitest run --run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "bench": "vitest bench --run", "format": "prettier --write .", "format:check": "prettier --check .", "tsdoc": "tsdoc --src=src/*,src/encode/*,src/decode/* && prettier --write README.md" }, "files": [ "dist" ], "main": "./dist/cbor.umd.js", "module": "./dist/cbor.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": { "default": "./dist/index.d.ts" }, "import": "./dist/cbor.mjs", "require": "./dist/cbor.umd.js" } }, "devDependencies": { "@types/node": "^22.15.21", "borc": "^3.0.0", "cbor-x": "^1.6.0", "prettier": "^3.5.3", "simple-cbor": "^0.4.1", "tsdoc-markdown": "^1.2.0", "typescript": "^5.8.3", "vite": "^6.3.5", "vite-plugin-checker": "^0.9.3", "vitest": "3.1.4" } }