-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "non-replacement-random-item-sampler",
"version": "1.0.0",
"description": "An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completion, the sampler automatically refreshes, initiating a new cycle to repeat the process seamlessly.",
"repository": {
"type": "git",
"url": "git+https://github.com/ori88c/non-replacement-random-item-sampler.git"
},
"contributors": [
"Ori Cohen (https://github.com/ori88c/)"
],
"homepage": "https://github.com/ori88c/non-replacement-random-item-sampler#readme",
"author": "Ori Cohen",
"license": "Apache-2.0",
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "jest"
},
"keywords": [
"random",
"item",
"element",
"sample",
"samples",
"sampler",
"random-sampler",
"random-select",
"random-selector",
"replacement",
"no-replacement",
"without-replacement",
"no-repetition",
"unique-samples",
"efficient",
"O(1)",
"cyclic",
"rounds",
"typescript",
"ts",
"ES2020"
],
"engines": {
"node": ">=14.5.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
},
"types": "./dist/non-replacement-random-item-sampler.d.ts",
"main": "./dist/non-replacement-random-item-sampler.js",
"files": [
"src/",
"dist/",
"README.md",
"LICENSE"
]
}