🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@iterable-iterator/map

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iterable-iterator/map

Iterable mapping functions for JavaScript

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
99
-56.77%
Maintainers
1
Weekly downloads
 
Created
Source

:arrow_right: @iterable-iterator/map

Iterable mapping functions for JavaScript. See docs.

:warning: Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {zip, count} from '@aureooms/js-itertools';
import {truth, mul} from '@aureooms/js-operator';
import {map, starmap} from '@iterable-itertools/map';
map( truth , [ 0 , 1 , null , undefined , "A" ] ) ; // F T F F T
starmap( mul , zip( count( 0 , 1 ) , count( 0 , 1 ) ) ) ; // 0 1 4 9 16 25 36 ...

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

Keywords

iter

FAQs

Package last updated on 27 Apr 2021

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