UNPKG

bigint-hash

Version:

Common hashing functions with bigint support

110 lines (109 loc) 3.35 kB
{ "name": "bigint-hash", "version": "0.2.2", "description": "Common hashing functions with bigint support", "main": "dist/node.js", "browser": { "./dist/node.js": "./dist/browser.js" }, "types": "dist/index.d.ts", "scripts": { "test": "npm run test:node && npm run test:browser", "coverage": "istanbul cover ./test/index.js", "coveralls": "npm run coverage && coveralls <coverage/lcov.info", "lint": "gts check", "install": "npm run rebuild || echo \"Couldn't build bindings. Non-native version used.\"", "prepare": "git submodule init; git submodule update; npm run compile", "prepublishOnly": "rm -rf build/Release; rm build/Makefile; rm build/gyp-*; rm build/*.mk; rm build/*.Makefile; rm *.tgz", "test:browser": "karma start karma.conf.js", "test:node": "mocha -r ts-node/register src/**/*.spec.ts --timeout 40000", "benchmark": "node -r ts-node/register src/index.bench.ts", "typedoc": "typedoc --out docs $(pwd)/src --target es6 --mode file --tsconfig ./tsconfig.json --excludePrivate --excludeProtected --excludeNotExported --exclude '**/*+(spec|bench).ts'", "rebuild": "node-gyp rebuild", "check": "gts check", "clean": "gts clean", "compile": "mkdir -p dist; tsc -p .;rollup -c > dist/node.js && BROWSER=true rollup -c > dist/browser.js; cp build/src/*.d.ts dist", "fix": "gts fix", "pretest": "npm run compile", "posttest": "npm run check" }, "repository": { "type": "git", "url": "https://github.com/no2chem/bigint-hash.git" }, "bugs": { "url": "https://github.com/no2chem/bigint-hash/issues" }, "keywords": [ "bigint", "bignum", "hash", "md5", "sha1", "sha256", "keccak", "sha3", "crypto", "tc39-bigint", "napi", "xxHash" ], "license": "Apache-2.0", "dependencies": { "bigint-buffer": "^1.1.2", "bindings": "^1.3.0", "xxhashjs": "^0.2.2" }, "devDependencies": { "@types/benchmark": "^1.0.31", "@types/chai": "^4.1.4", "@types/mocha": "^5.2.5", "@types/node": "^10.7.1", "benchmark": "^2.1.4", "chai": "^4.1.2", "coveralls": "^3.0.2", "gts": "^0.8.0", "istanbul": "^0.4.1", "karma": "^3.0.0", "karma-chrome-launcher": "^2.2.0", "karma-env-preprocessor": "^0.1.1", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-webpack": "^3.0.0", "keccak": "^1.4.0", "microtime": "^2.1.8", "mocha": "^5.2.0", "pre-commit": "^1.2.2", "rollup": "^0.65.2", "rollup-plugin-replace": "^2.0.0", "ts-loader": "^4.5.0", "ts-node": "^7.0.1", "typedoc": "^0.14.0", "typescript": "^3.3.3333", "webpack": "^4.16.5", "webpack-cli": "^3.1.0", "xxhash": "^0.2.4" }, "files": [ "/dist", "/ext/xkcp/lib/high/Keccak", "/ext/xkcp/lib/low/KeccakP-1600/Optimized64/KeccakP-1600-opt64.c", "ext/xkcp/lib/common", "ext/xkcp/lib/low/KeccakP-1600/Optimized64", "ext/xkcp/lib/low/KeccakP-1600/Optimized64/LCufullshld", "ext/xkcp/lib/low/KeccakP-1600/Optimized", "ext/xkcp/lib/low/common", "ext/xxHash", "src/*.c", "binding.gyp" ], "engines": { "node": ">= 10.0.0" }, "publishConfig": { "access": "public" }, "contributors": [ "Michael Wei <mwei@vmware.com> (https://github.com/no2chem)" ] }