gen-map

0.0.0 • Public • Published

Example

$ npm install generator.pipe --save
const GP = require('generator.pipe');

const gen = GP([3,4,5,6])
    .map(x => x * x)
    .map(x => x + 3)
    .apply()

console.log(gen.get(2)) //[12, 19]
console.log(gen.all()) // [28, 39]

Readme

Keywords

Package Sidebar

Install

npm i gen-map

Weekly Downloads

0

Version

0.0.0

License

ISC

Last publish

Collaborators

  • robusgauli