it-map
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    it-map

    Build status Coverage Status Dependencies Status

    Maps the values yielded by an (async) iterator

    Install

    $ npm install --save it-map

    Usage

    const map = require('it-map')
    
    // This can also be an iterator, async iterator, generator, etc
    const values = [0, 1, 2, 3, 4]
    
    const result = await map(values, (val) => val++)
    
    console.info(result) // 15

    Keywords

    none

    Install

    npm i it-map

    DownloadsWeekly Downloads

    98,081

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    3.21 kB

    Total Files

    7

    Last publish

    Collaborators

    • achingbrain