args-to-arr
Advanced tools
Comparing version 1.3.12 to 1.3.13
@@ -0,1 +1,6 @@ | ||
# v1.3.13 (04-06-2019) | ||
* improved documentation | ||
* test refactoring | ||
# v1.3.12 (01-06-2019) | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "args-to-arr", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"description": "converts arguments or any other array-like object into an array starting from specific index.", | ||
@@ -5,0 +5,0 @@ "main": "dist/args-to-arr.cjs.js", |
@@ -70,4 +70,19 @@ # args-to-arr | ||
### Node.js | ||
```javascript | ||
const toArray = require("args-to-arr"); | ||
const array = toArray(arrayLike, start); | ||
``` | ||
### Browser | ||
*After adding the* `script` *tag,* `toArray` *function will be available globally.* | ||
```javascript | ||
const array = toArray(arrayLike, start); | ||
``` | ||
## License | ||
[MIT](LICENSE) © [Manuel Fernández](https://github.com/manferlo81) |
23021
88