node-object-hash

v2.0.0
Node.js object hash library with properties/arrays sorting to provide constant hashes
hash object hash-object object-hash es6 crypto

lint:eslint

eslint .

lint:tslint

tslint -p ./ && tslint -p ./test

lint

npm run lint:eslint && npm run lint:tslint

lint:fix

eslint . --fix && tslint -p ./ --fix && tslint -p ./test --fix

test

npm audit || true && npm run lint && npm run unit

unit

jest --coverage

postunit

codecov

prebenchmark

npm i --no-save hash-object object-hash benchmark

benchmark

node benchmark/bench.js

prebenchmark:custom

npm i --no-save hash-object object-hash benchmark

benchmark:custom

node --expose-gc benchmark/custom.js

build

npm run build:node

build:node

tsc -p tsconfig.json

prerelease

npm run typedoc && git add -A ./docs

release

git add -A && standard-version -a

typedoc

rm -rf ./docs/* && typedoc --excludeExternals --name "$npm_package_name" --readme none --mode file --includeDeclarations --excludePrivate --theme markdown --out ./docs

Metadata

  • MIT
  • >=0.10.0
  • m03geek
  • released 9/7/2019

Downloads

Maintainers