Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himanoa/eachslice
eachSlice([1,2,3], 2) -> [[1,2],[3]]
https://github.com/himanoa/eachslice
Last synced: 20 days ago
JSON representation
eachSlice([1,2,3], 2) -> [[1,2],[3]]
- Host: GitHub
- URL: https://github.com/himanoa/eachslice
- Owner: himanoa
- License: mit
- Created: 2018-04-25T02:46:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-25T03:16:13.000Z (over 6 years ago)
- Last Synced: 2024-12-08T21:41:44.087Z (25 days ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eachslice
Prototype does not pollute each slice implementation
## How to use
```javascript
const eachSlice = require('eachslice');eachSlice([1,2,3], 2) // -> [[1,2], [3]]
```## License
MIT