micro-rlp

v2.2.9
Better RLP: 0 deps + with browser support (Recursive Length Prefix)
rlp ethereum

build

tsc -p ./tsconfig.prod.json

prepublishOnly

npm run build

coverage

npm run build && nyc --reporter=lcov mocha --reporter=spec --require ts-node/register test/*.spec.ts

format

prettier --list-different **/*.{ts,json,md,gql}

format:fix

prettier --write **/*.{ts,json,md,gql}

tslint

tslint -p ./tsconfig.json -e node_modules/**/* -e **/node_modules/**/* -e dist/**/* **/*.ts

tslint:fix

tslint --fix --format stylish -p ./tsconfig.json -e node_modules/**/* -e **/node_modules/**/* -e dist/**/* **/*.ts

tsc

tsc -p ./tsconfig.prod.json --noEmit

lint

npm run format && npm run tslint && npm run tsc

lint:fix

npm run format:fix && npm run tslint:fix && npm run tsc

unitTests

mocha --reporter spec --require ts-node/register test/*.spec.ts

test

npm run lint && npm run build && npm run unitTests && npm run test:browser

test:browser

karma start karma.conf.js

test:fix

npm run lint:fix && npm run unitTests
npm i micro-rlp

Metadata

  • MPL-2.0
  • Whatever
  • martin becze
  • released 3/23/2021

Downloads

Maintainers