moderndash 0.10.1 → 0.10.2

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 +16 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,6 +14,12 @@
14
14
  ✅ TS Decorators
15
15
  ✅ ESNext
16
16
  </div>
17
+ <p></p>
18
+
19
+ <div align=center>
20
+ <img alt="npm" src="https://img.shields.io/npm/dw/moderndash?label=Downloads">
21
+ <img alt="GitHub" src="https://img.shields.io/github/license/maggi64/moderndash">
22
+ </div>
17
23
 
18
24
  <h3 align=center>
19
25
  <a href="https://moderndash.io" target="_blank">
@@ -23,18 +29,19 @@
23
29
 
24
30
  ---
25
31
 
26
- > **Warning**
27
- > This library is still in beta.
28
-
29
32
  ## 🔖 Introduction
30
- I developed ModernDash as an modern lightweight alternative to Lodash and other utility libraries.
31
- ModernDash provides powerful functions while encouraging you to use native JS where its appropriate.
33
+ ModernDash is a modern and lightweight alternative to utility libraries like Lodash. It provides important functions while encouraging use of native JS where possible.
32
34
 
33
- Why would i need:
34
- - `ModernDash.isArray()` when there is `Array.isArray()`
35
- - `Lodash.compact(array)` when i could write `array.filter(Boolean)`
35
+ ModernDash ignores trivial functions and focuses of the functions you actually need.
36
+ ```typescript
37
+ // We don't need
38
+ ModernDash.isArray(arr)
39
+ Lodash.compact(arr)
36
40
 
37
- It ignores trivial functions and focuses of the functions you actually need.
41
+ // When we these native replacements
42
+ Array.isArray(arr)
43
+ arr.filter(Boolean)
44
+ ```
38
45
  ## 💾 Installation
39
46
 
40
47
  ```bash
package/package.json CHANGED
@@ -48,5 +48,5 @@
48
48
  "tsup": "6.5.0",
49
49
  "ctix": "1.8.2"
50
50
  },
51
- "version": "0.10.1"
51
+ "version": "0.10.2"
52
52
  }