New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ittr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ittr

Small library of iterator-related utility functions for JavaScript

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

iterator

FAQs

Package last updated on 22 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts