UNPKG

shuffle-es6

Version:

Fisher-Yates shuffle with injectable random-number-generator as ES6 module

41 lines (40 loc) 857 B
{ "name": "shuffle-es6", "version": "0.2.1", "description": "Fisher-Yates shuffle with injectable random-number-generator as ES6 module", "main": "index.js", "type": "module", "types": "dist/index.d.ts", "scripts": { "build": "vite build", "dev": "vite", "test": "vitest --run", "test:watch": "vitest", "build:types": "tsc --emitDeclarationOnly" }, "repository": { "type": "git", "url": "git+https://github.com/pobengtsson/shuffle-es6.git" }, "keywords": [ "shuffle", "shuffling", "list", "array", "Fisher Yates", "Durstenfeld", "random", "randomly", "sort", "sorted", "sorting", "inplace" ], "author": "Per-Olof Bengtsson", "license": "MIT", "devDependencies": { "vitest": "^3.2.4", "typescript": "^5.8.3", "@types/node": "^24.0.3" } }