seangenabe / starry

[DEPRECATED. Please direct efforts to the awesome `ix` library.] Modular functions for iterable objects
MIT License
4 stars 0 forks source link
generator-function iterable iterable-objects iteration iteration-over-objects iterator modular

starry

Modular functions for iterable objects

npm Build Status Coverage Status devDependency Status

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 is any object that has a Symbol.iterator function property.)

Usage

Either export the function you want:

const every = require('starry').every

Or get the functions you want as separate modules:

const every = require('starry.every')

API

See the API.

Why call it starry?

Generator functions -> star -> starry

Why make another iterable library?

I want a modular one, a la lodash.

License

MIT