| { | |
| "name": "pure-rand", | |
| "version": "8.4.2", | |
| "description": " Pure random number generator written in TypeScript", | |
| "type": "commonjs", | |
| "exports": { | |
| "./package.json": "./package.json", | |
| "./distribution/uniformBigInt": { | |
| "require": "./lib/distribution/uniformBigInt.js", | |
| "import": "./lib/esm/distribution/uniformBigInt.js" | |
| }, | |
| "./distribution/uniformInt": { | |
| "require": "./lib/distribution/uniformInt.js", | |
| "import": "./lib/esm/distribution/uniformInt.js" | |
| }, | |
| "./distribution/uniformFloat32": { | |
| "require": "./lib/distribution/uniformFloat32.js", | |
| "import": "./lib/esm/distribution/uniformFloat32.js" | |
| }, | |
| "./distribution/uniformFloat64": { | |
| "require": "./lib/distribution/uniformFloat64.js", | |
| "import": "./lib/esm/distribution/uniformFloat64.js" | |
| }, | |
| "./generator/congruential32": { | |
| "require": "./lib/generator/congruential32.js", | |
| "import": "./lib/esm/generator/congruential32.js" | |
| }, | |
| "./generator/mersenne": { | |
| "require": "./lib/generator/mersenne.js", | |
| "import": "./lib/esm/generator/mersenne.js" | |
| }, | |
| "./generator/xorshift128plus": { | |
| "require": "./lib/generator/xorshift128plus.js", | |
| "import": "./lib/esm/generator/xorshift128plus.js" | |
| }, | |
| "./generator/xoroshiro128plus": { | |
| "require": "./lib/generator/xoroshiro128plus.js", | |
| "import": "./lib/esm/generator/xoroshiro128plus.js" | |
| }, | |
| "./types/JumpableRandomGenerator": { | |
| "require": "./lib/types/JumpableRandomGenerator.js", | |
| "import": "./lib/esm/types/JumpableRandomGenerator.js" | |
| }, | |
| "./types/RandomGenerator": { | |
| "require": "./lib/types/RandomGenerator.js", | |
| "import": "./lib/esm/types/RandomGenerator.js" | |
| }, | |
| "./utils/generateN": { | |
| "require": "./lib/utils/generateN.js", | |
| "import": "./lib/esm/utils/generateN.js" | |
| }, | |
| "./utils/purify": { | |
| "require": "./lib/utils/purify.js", | |
| "import": "./lib/esm/utils/purify.js" | |
| }, | |
| "./utils/skipN": { | |
| "require": "./lib/utils/skipN.js", | |
| "import": "./lib/esm/utils/skipN.js" | |
| } | |
| }, | |
| "files": [ | |
| "lib" | |
| ], | |
| "sideEffects": false, | |
| "devEngines": { | |
| "runtime": { | |
| "name": "node", | |
| "onFail": "warn" | |
| }, | |
| "packageManager": { | |
| "name": "pnpm", | |
| "version": "11.8.0", | |
| "onFail": "download" | |
| } | |
| }, | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/dubzzz/pure-rand.git" | |
| }, | |
| "author": "Nicolas DUBIEN <github@dubien.org>", | |
| "license": "MIT", | |
| "bugs": { | |
| "url": "https://github.com/dubzzz/pure-rand/issues" | |
| }, | |
| "homepage": "https://github.com/dubzzz/pure-rand#readme", | |
| "devDependencies": { | |
| "@fast-check/packaged": "^0.7.0", | |
| "@vitest/coverage-v8": "4.1.9", | |
| "fast-check": "^4.8.0", | |
| "oxfmt": "^0.56.0", | |
| "pkg-pr-new": "^0.0.75", | |
| "publint": "0.3.21", | |
| "rolldown": "1.1.3", | |
| "rolldown-plugin-dts": "^0.26.0", | |
| "typescript": "^6.0.3", | |
| "vitest": "^4.1.9" | |
| }, | |
| "keywords": [ | |
| "seed", | |
| "random", | |
| "prng", | |
| "generator", | |
| "pure", | |
| "rand", | |
| "mersenne", | |
| "random number generator", | |
| "fastest", | |
| "fast" | |
| ], | |
| "funding": [ | |
| { | |
| "type": "individual", | |
| "url": "https://github.com/sponsors/dubzzz" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fast-check" | |
| } | |
| ], | |
| "scripts": { | |
| "format:check": "oxfmt --list-different", | |
| "format": "oxfmt", | |
| "typecheck": "tsc --noEmit", | |
| "build": "rolldown -c && cd lib/esm/ && find . -type f -name '*.d.ts' -exec cp --parents {} ../ \\; && cp ../../package.esm-template.json package.json && cd ../..", | |
| "test": "vitest", | |
| "test-bundle": "echo \"node: $(${NODE_BIN:-node} --version)\" && rm -rf test-bundle/*.mjs && for f in test-bundle/*.cjs; do if [ -f \"$f\" ]; then echo \"Creating ${f%.cjs}.mjs\" && mjs=\"${f%.cjs}.mjs\" && sed -E \"s/^const (\\{[^}]*\\}) = require\\(([^)]+)\\);$/import \\1 from \\2;/; s/^const ([a-zA-Z_][a-zA-Z0-9_]*) = require\\(([^)]+)\\);$/import \\1 from \\2;/; s/^'use strict';$//\" \"$f\" > \"$mjs\"; fi; done && for f in test-bundle/*.cjs test-bundle/*.mjs; do if [ -f \"$f\" ]; then echo \"Running ${f##*/}\" && ${NODE_BIN:-node} \"$f\" || exit 1; fi; done", | |
| "test-legacy-bundle": "nvs add 12.17.0 && NODE_BIN=$(nvs which 12.17.0) pnpm test-bundle", | |
| "bench": "vitest bench", | |
| "bench:ci": "vitest bench --outputJson benchmark.json --compare benchmark.json", | |
| "bench:snap": "vitest bench --outputJson benchmark.json", | |
| "bench:compare": "vitest bench --compare benchmark.json" | |
| } | |
| } |
Xet Storage Details
- Size:
- 4.58 kB
- Xet hash:
- 40141969b88d14d68a386e198f77c2437b7cffedef9f142e62fc6d9ad49a8b19
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.