UNPKG

@polkadot-labs/schnorrkel-wasm

Version:

JavaScript WebAssembly (WASM) wrapper for the schnorrkel Rust crate

36 lines 1 kB
{ "name": "@polkadot-labs/schnorrkel-wasm", "version": "0.0.7", "description": "JavaScript WebAssembly (WASM) wrapper for the schnorrkel Rust crate", "types": "./dist/nodejs/schnorrkel.d.ts", "files": [ "./dist/nodejs/schnorrkel_bg.wasm", "./dist/nodejs/schnorrkel.mjs", "./dist/nodejs/schnorrkel.js", "./dist/nodejs/schnorrkel.d.ts" ], "exports": { ".": { "types": "./dist/nodejs/schnorrkel.d.ts", "import": "./dist/nodejs/schnorrkel.mjs", "require": "./dist/nodejs/schnorrkel.js", "default": "./dist/nodejs/schnorrkel.js" } }, "keywords": [ "sr25519", "schnorrkel", "polkadot", "substrate", "wasm" ], "author": "kratico (https://github.com/kratico)", "repository": { "type": "git", "url": "https://github.com/polkadot-labs/hdkd.git" }, "license": "MIT", "scripts": { "build": "cd rust && wasm-pack build --release -t nodejs --out-dir ../dist/nodejs && cd .. && node scripts/patch.mjs" } }