Skip to content

Commit 74d876d

Browse files
committed
Updated README
1 parent 85e1c2c commit 74d876d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,20 @@
22
![npm (scoped)](https://img.shields.io/npm/v/@hetarth02/js-array-helpers?style=for-the-badge)
33

44
Array Helper functions for your quick use.
5+
6+
# Installation
7+
8+
```cd
9+
npm i @hetarth02/js-array-helpers
10+
```
11+
12+
# How to use
13+
14+
In your `package.json` add the following, `"type": "module"`.
15+
16+
```js
17+
import { is_array } from "@hetarth02/js-array-helpers";
18+
19+
let arr = [1, 2];
20+
console.log(is_array(arr)); // true
21+
```

0 commit comments

Comments
 (0)