A library of JavaScript functions that take an iterable and mimic the functionality of many Array methods
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.eslintrc
.gitignore
IteratorsAndGenerators.pdf
LICENSE
README.md
abstract.txt
jasmine.json
package.json
settOctober2015.pdf

README.md

This is a library of JavaScript functions that take an iterable and mimic the functionality of many Array methods.

The name comes from "star" for the asterisk wildcard character, representing the many Array methods that are mimiced, and "it" for iterable.

Note that only the filter, map, skip, and take functions are safe to use with infinite sequences.

See star-it-spec.js for usage examples. To run the tests,

  • install Node.js
  • enter "npm install"
  • enter "npm test"

See IteratorsAndGenerators.pdf for an associated presentation.