UNPKG

1.96 kBJSONView Raw
1{
2 "name": "extra-math",
3 "version": "1.3.51",
4 "description": "A collection of common mathematical functions.",
5 "main": "index.js",
6 "module": "index.mjs",
7 "sideEffects": false,
8 "exports": {
9 "require": "./index.js",
10 "import": "./index.mjs"
11 },
12 "scripts": {
13 "test": "jest",
14 "build": "node ./build",
15 "publish-docs": "node ./build publish-docs",
16 "publish-packages": "node ./build publish-packages"
17 },
18 "keywords": [
19 "extra",
20 "math",
21 "aliquotParts",
22 "clamp",
23 "greatestPrimeFactor",
24 "hcf",
25 "leastPrimeFactor",
26 "map",
27 "mean",
28 "norm",
29 "rootMeanSquare",
30 "aliquotSum",
31 "arithmeticMean",
32 "binomial",
33 "ceil",
34 "ceilDiv",
35 "constrain",
36 "cubicMean",
37 "degrees",
38 "distance",
39 "factorial",
40 "floor",
41 "floorDiv",
42 "gcd",
43 "geometricMean",
44 "harmonicMean",
45 "isPow",
46 "isPrime",
47 "lcm",
48 "lerp",
49 "log",
50 "magnitude",
51 "maxPrimeFactor",
52 "median",
53 "minPrimeFactor",
54 "mod",
55 "modes",
56 "modp",
57 "multinomial",
58 "nextPow",
59 "normalize",
60 "prevPow",
61 "primeExponentials",
62 "primeFactors",
63 "product",
64 "properDivisors",
65 "quadriaticMean",
66 "radians",
67 "range",
68 "rem",
69 "remap",
70 "root",
71 "round",
72 "roundDiv",
73 "sum",
74 "variance"
75 ],
76 "author": "wolfram77@gmail.com",
77 "license": "MIT",
78 "repository": {
79 "type": "git",
80 "url": "git+https://github.com/nodef/extra-math.git"
81 },
82 "bugs": {
83 "url": "https://github.com/nodef/extra-math/issues"
84 },
85 "homepage": "https://github.com/nodef/extra-math#readme",
86 "devDependencies": {
87 "@rollup/plugin-commonjs": "^23.0.2",
88 "@rollup/plugin-node-resolve": "^15.0.1",
89 "@types/jest": "^29.2.3",
90 "extra-build": "^2.2.39",
91 "extra-number": "^2.3.4",
92 "jest": "^29.3.1",
93 "rollup-plugin-cleanup": "^3.2.1",
94 "rollup-plugin-dts": "^5.0.0",
95 "ts-jest": "^29.0.3"
96 }
97}