UNPKG

@hazae41/argon2.wasm

Version:
64 lines (63 loc) 1.73 kB
{ "type": "module", "name": "@hazae41/argon2.wasm", "version": "1.0.6", "description": "WebAssembly port of Argon2", "homepage": "https://github.com/hazae41/argon2.wasm", "repository": "github:hazae41/argon2.wasm", "author": "hazae41", "license": "Unlicense", "main": "./dist/cjs/node/index.cjs", "module": "./dist/esm/node/index.mjs", "types": "./dist/types/node/index.d.ts", "sideEffects": false, "files": [ "./dist/esm", "./dist/cjs", "./dist/types", "./dist/wasm" ], "scripts": { "build:wasm": "cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs", "build:node": "rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs", "build": "npm run build:wasm && npm run build:node", "test": "node ./dist/test/node/index.test.mjs" }, "devDependencies": { "@hazae41/deimos": "^1.0.6", "@hazae41/phobos": "^1.0.10", "@hazae41/rimraf": "^1.0.1", "@rollup/plugin-typescript": "^12.1.3", "@types/node": "^24.0.4", "rollup": "^4.44.0", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-node-externals": "^8.0.1", "tslib": "^2.8.1", "typescript": "^5.8.3" }, "exports": { ".": { "types": "./dist/types/node/index.d.ts", "import": "./dist/esm/node/index.mjs", "require": "./dist/cjs/node/index.cjs" } }, "keywords": [ "reproducible", "webassembly", "cryptography", "audited", "Argon2", "counter", "encryption", "decryption", "browser", "typescript", "rust", "unit-tested", "deno" ], "peerDependencies": { "@hazae41/memory.wasm": "^1.0.27" } }