replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
19
node_modules/chunkd/README.md
generated
vendored
Normal file
19
node_modules/chunkd/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# chunkd
|
||||
|
||||
> Get a chunk of an array based on the total number of chunks and current index
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
yarn add [--dev] chunkd
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const chunkd = require("chunkd")
|
||||
|
||||
chunkd([1, 2, 3, 4], 0, 3) // [1, 2]
|
||||
chunkd([1, 2, 3, 4], 1, 3) // [3]
|
||||
chunkd([1, 2, 3, 4], 2, 3) // [4]
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue