uint8array-tools

v0.0.6
A library for dealing with Uint8Arrays.
uint8array hex tools

lint

npm run eslint

test

npm run unit

unit

jest --config=jest.json --runInBand

build

npm run clean && npm run build-ts && npm run convert-cjs && rm -f ./src/cjs/browser.d.ts

clean

rm -rf ./src/* && rm -rf ./coverage && rm -f ./package-lock.json

eslint

eslint ts_src/*.ts

format

npm run eslint -- --fix

build-ts

tsc -p tsconfig.json && tsc -p tsconfig-cjs.json

coverage

npm run unit -- --coverage

gitdiff:ci

npm run build && git diff --exit-code

convert-cjs

for f in ./src/cjs/*.js; do mv -- "$f" "${f%.js}.cjs"; done

Metadata

  • MIT
  • >=14.0.0
  • Jonathan Underwood
  • released 10/19/2021

Downloads

Maintainers