ransyr 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,9 +18,9 @@ const choice = arr[Math.floor(Math.random() * arr.length)];
18
18
  ## Contoh Penggunaan
19
19
 
20
20
  ```javascript
21
- import random from 'ransyr';
21
+ import ransyr from 'ransyr';
22
22
 
23
23
  const arr = ["apple", "banana", "cherry"];
24
- console.log(random.choice(arr));
25
- console.log(random.random());
24
+ console.log(ransyr.choice(arr));
25
+ console.log(ransyr.random());
26
26
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ransyr",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "python like random utilities for make things easier",
5
5
  "main": "main.js",
6
6
  "scripts": {