UNPKG

@webbuf/webbuf

Version:

Rust/WASM optimized buffers for the web, node.js, deno, and bun.

57 lines 1.7 kB
{ "name": "@webbuf/webbuf", "version": "3.5.0", "description": "Rust/WASM optimized buffers for the web, node.js, deno, and bun.", "repository": { "type": "git", "url": "https://github.com/identellica/webbuf" }, "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "engines": { "node": ">=20.8.0" }, "keywords": [ "buffer", "base64", "hex", "uint256", "int256", "uint128", "int128", "rust", "wasm" ], "author": "Identellica LLC", "license": "MIT", "devDependencies": { "@eslint/js": "^9.18.0", "@types/node": "^22.13.2", "buffer": "^6.0.3", "eslint": "^9.18.0", "prettier": "^3.4.2", "rimraf": "^6.0.1", "tsx": "^4.19.2", "typescript": "^5.7.3", "typescript-eslint": "^8.21.0", "vite": "^6.1.0", "vitest": "^3.0.5" }, "scripts": { "clean": "rimraf dist", "benchmark": "vitest --config vitest.benchmark.config.ts run", "test": "vitest --run", "test:browser": "vitest --run --browser", "typecheck": "tsc --noEmit", "lint": "eslint . --fix", "format": "prettier --write . --ignore-path ../.prettierignore", "fix": "pnpm run typecheck && pnpm run lint && pnpm run format", "sync:from-rust": "cp -r ../../rs/webbuf/build/bundler/* src/rs-webbuf-bundler/", "build": "pnpm run build:wasm && pnpm run build:typescript", "build:bundler-to-inline-base64": "cp -r src/rs-webbuf-bundler/* src/rs-webbuf-inline-base64/", "build:inline-wasm": "tsx build-inline-wasm.ts", "build:wasm": "pnpm run build:bundler-to-inline-base64 && pnpm run build:inline-wasm", "build:typescript": "tsc -p tsconfig.build.json" } }