bias-random 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # bias-random
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4f0b4cc: Fixed bugs in README with incorrect function name
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
package/README.md CHANGED
@@ -9,13 +9,13 @@ Generates biased random numbers with a customizable bias level, direction, and r
9
9
  ## 📦 Installation
10
10
 
11
11
  ```bash
12
- npm install bias-random
12
+ npm i bias-random
13
13
 
14
14
  # or
15
15
  yarn add install bias-random
16
16
 
17
17
  # or
18
- pnpm install bias-random
18
+ pnpm i bias-random
19
19
  ```
20
20
 
21
21
  ## 🚀 Usage
@@ -28,8 +28,8 @@ import biasedRandom from "bias-random";
28
28
  // -Bias level of 2
29
29
  // -Range 0 to 1
30
30
  // Average resulting value will be 1/3
31
- const defaultResult = biasRandom();
31
+ const defaultResult = biasedRandom();
32
32
 
33
33
  // Cutomize the parmeters (all parameters are optional, defaulting to the values above)
34
- const customResult = biasRandom({ upperBias: true, biasLevel: 4, min: 10, max: 1000 });
34
+ const customResult = biasedRandom({ upperBias: true, biasLevel: 4, min: 10, max: 1000 });
35
35
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bias-random",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Generates biased random numbers with a customizable bias level, direction, and range",
5
5
  "author": "Reid Moffat <reid.moffat9@gmail.com>",
6
6
  "license": "MIT",