install by npm
, yarn
etc
npm i -S @luxfi/lux-sign
# or
yarn add @luxfi/lux-sign
For every use cases, we provide two kinds of implementations: by Javascript and by WebAssembly. for example:
import * as SignWasm from '@luxfi/lux-sign/es/sign-wasm-lux'
# build for web
npm run build:umd
# build for nodejs/react-native
npm run build:cjs
We use jest
, ts-jest
to test source code, in all spec files, we import members to be test from ./src
DIRECTLY
npm run test