Skip to content

[DEPRECATED. Please direct efforts to the awesome `ix` library.] Modular functions for iterable objects

License

Notifications You must be signed in to change notification settings

seangenabe/starry

Repository files navigation

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