@r01al/array-polyfills 1.0.7 → 1.0.8
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/README.md +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Cool Array Polyfills
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
✨ A tiny TypeScript library that adds useful array utilities in two ways:
|
|
4
|
+
|
|
5
|
+
- 🧩 Side-effectful `Array.prototype` polyfills (opt-in via the `auto` entry).
|
|
6
|
+
- 🧰 Standalone helper functions for use without touching prototypes.
|
|
7
|
+
|
|
8
|
+
## Benefits
|
|
9
|
+
|
|
10
|
+
- 🌍 Works in both modern bundlers and simple `<script>` tags (UMD builds).
|
|
11
|
+
- 🧭 Lets you choose between prototype methods or pure functions.
|
|
12
|
+
- ✅ Strong typing for safer use in TypeScript.
|
|
13
|
+
- 🍃 Small, focused helpers that are easy to tree‑shake.
|
|
4
14
|
|
|
5
15
|
## Install
|
|
6
16
|
|