https://github.com/seangenabe/starry
[DEPRECATED. Please direct efforts to the awesome `ix` library.] Modular functions for iterable objects
https://github.com/seangenabe/starry
generator-function iterable iterable-objects iteration iteration-over-objects iterator modular
Last synced: 2 months ago
JSON representation
[DEPRECATED. Please direct efforts to the awesome `ix` library.] Modular functions for iterable objects
- Host: GitHub
- URL: https://github.com/seangenabe/starry
- Owner: seangenabe
- License: mit
- Created: 2016-04-12T15:34:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-15T00:38:49.000Z (about 7 years ago)
- Last Synced: 2024-05-22T07:45:29.456Z (over 1 year ago)
- Topics: generator-function, iterable, iterable-objects, iteration, iteration-over-objects, iterator, modular
- Language: TypeScript
- Homepage:
- Size: 1.13 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: license.md
Awesome Lists containing this project
README
# starry
Modular functions for iterable objects
[](https://www.npmjs.com/package/starry)
[](https://travis-ci.org/seangenabe/starry)
[](https://coveralls.io/github/seangenabe/starry)
[](https://david-dm.org/seangenabe/starry#info=devDependencies)## Intro
This is a combination of some methods inspired from `lodash` as well as some utilities for asynchronous tasks, but tailored for JS iterables in general.
(An [iterable][es2015-iterables] is any object that has a `Symbol.iterator` function property.)
[es2015-iterables]: http://www.ecma-international.org/ecma-262/6.0/#sec-iterable-interface
## Usage
Either export the function you want:
```javascript
const every = require('starry').every
```Or get the functions you want as [separate modules](https://www.npmjs.com/browse/keyword/starry-modularized):
```javascript
const every = require('starry.every')
```### API
See the [API](./API.md).
## Why call it `starry`?
Generator functions -> star -> starry
## Why make another iterable library?
I want a modular one, a la _lodash_.
## License
MIT