@transcend-io/encrypt-web-streams
Version:
WebAssembly-powered streaming AES-256-GCM encryption and decryption with a web-native TransformStream API.
91 lines • 2.97 kB
JSON
{
"name": "@transcend-io/encrypt-web-streams",
"version": "1.0.5",
"description": "WebAssembly-powered streaming AES-256-GCM encryption and decryption with a web-native TransformStream API.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist/",
"wasm/aes_gcm_stream_wasm_bg.wasm",
"wasm/aes_gcm_stream_wasm.js",
"wasm/aes_gcm_stream_wasm.d.ts"
],
"devDependencies": {
"@eslint/js": "^9.32.0",
"@esm-bundle/chai": "4.3.4-fix.0",
"@tsconfig/node22": "^22.0.2",
"@tsconfig/strictest": "^2.0.5",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@web/dev-server-esbuild": "^1.0.4",
"@web/test-runner": "^0.20.2",
"@web/test-runner-playwright": "^0.11.1",
"doctoc": "^2.2.1",
"eslint": "^9.32.0",
"eslint-plugin-unicorn": "^60.0.0",
"hash-wasm": "^4.12.0",
"http-server": "^14.1.1",
"mime": "^4.0.7",
"prettier": "^3.6.2",
"prettier-plugin-jsdoc": "^1.3.3",
"pretty-bytes": "^7.0.0",
"pretty-ms": "^9.2.0",
"tinybench": "^4.0.1",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.38.0",
"wasm-pack": "^0.13.1"
},
"author": "Ben Brook",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/transcend-io/encrypt-web-streams.git"
},
"keywords": [
"aes",
"gcm",
"streaming",
"webassembly",
"typescript",
"javascript",
"wasm",
"web-streams",
"web",
"web-native",
"encryption",
"e2ee",
"crypto"
],
"scripts": {
"build": "pnpm run build:rust && pnpm run build:js",
"build:rust": "bash build-rust.sh",
"build:js": "tsc --build --force",
"test:rust": "pnpm run test:rust:ci",
"test:js": "pnpm build && pnpm run test:js:ci",
"test:fixtures": "pnpm build && pnpm run test:fixtures:ci",
"test:rust:ci": "cd rust && wasm-pack test --chrome && cargo test && cd patches/aes-gcm-stream && cargo test",
"test:js:ci": "web-test-runner --node-resolve --playwright --browsers chromium firefox webkit --files test/**/*.test.ts --files !test/speed.test.ts --files !test/fixtures.test.ts",
"test:fixtures:ci": "bash test-fixtures.sh",
"test:fixtures:big": "FF_BIG_FIXTURES=include bash test-fixtures.sh",
"rebuild-fixtures": "tsx test/fixtures/rebuild-fixtures.ts",
"benchmark": "web-test-runner --node-resolve --playwright --browsers chromium firefox webkit --files test/speed.test.ts",
"clean": "rm -rf wasm/ dist/ rust/target/",
"lint": "pnpm run \"/^lint:.*/\"",
"lint:prettier": "prettier --check . --log-level warn",
"lint:eslint": "eslint .",
"lint:types": "tsc --build",
"format": "pnpm exec doctoc README.md --maxlevel 2 && prettier --write ."
}
}