Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

ittr

0.1.1 • Public • Published

ittr

npm ittr Build Status gzip size

Small library of iterator-related utility functions for JavaScript.

Documentation: GitHub Pages.

Ittr doesn't try to be a comprehensive hub of all array methods -- there are lots of NPM libraries will do that very well. This is just a smaller collection of just the essential (by my definition of essential) array/iterator methods I've learned comes up very, very often in UI development, including many that aren't a part of the JavaScript standard.

Features

  • Works with any JavaScript iterator, not just arrays
  • Nice API
  • Tiny, simple to use
  • Relatively fast, compared to native JavaScript array methods

Usage

Import it with a <script> tag...

<script src="https://unpkg.com/ittr/dist/index.min.js"></script>

... and you'll find all the API functions exposed under the Ittr global object.

You can also npm install ittr, which will allow you to use it in both Node.js and client-side projects.

Please see the documentation for detailed API information.

Install

npm i ittr

DownloadsWeekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

10.9 kB

Total Files

8

Last publish

Collaborators

  • avatar