UNPKG

crypto-secure-shuffle

Version:

Cryptographically secure shuffle using the Durstenfeld algorithm with a CSPRNG.

73 lines (72 loc) 1.81 kB
{ "name": "crypto-secure-shuffle", "version": "2.0.5", "description": "Cryptographically secure shuffle using the Durstenfeld algorithm with a CSPRNG.", "homepage": "https://github.com/dhessler/crypto-secure-shuffle", "author": "David Hessler <dhessler.oss@gmail.com>", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "clean": "./node_modules/.bin/rimraf dist coverage .nyc_output", "build": "./node_modules/.bin/tsc --pretty", "lint": "./node_modules/.bin/tslint src/**/*.ts test/**/*.ts", "pretest": "npm run lint", "test": "./node_modules/.bin/nyc ./node_modules/.bin/mocha test/**/*.ts", "coveralls": "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls", "prepare": "npm run build" }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary" ], "sourceMap": true, "instrument": true }, "dependencies": { "random-number-csprng": "^1.0.2", "source-map-support": "^0.5.10" }, "devDependencies": { "@types/mocha": "^5.2.5", "@types/node": "^10.12.23", "coveralls": "^3.0.2", "mocha": "^5.2.0", "nyc": "^13.2.0", "rimraf": "^2.6.3", "ts-node": "^8.0.2", "tslint": "^5.12.1", "typescript": "^3.3.3" }, "engines": { "node": ">=6" }, "repository": { "type": "git", "url": "https://github.com/dhessler/crypto-secure-shuffle.git" }, "bugs": { "url": "https://github.com/dhessler/crypto-secure-shuffle/issues" }, "keywords": [ "secure", "crypto", "shuffle", "random", "randomize", "array", "sort", "csprng", "fisher-yates", "durstenfeld" ], "license": "ISC" }