Notable Pseudocode Mashups

    @lazarljubenovic/iterators
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.1 • Public • Published

    Iterators

    Installation

    $ yarn add @lazarljubenovic/iterators

    Usage

    import * as its from '@lazarljubenovic/iterators'
    
    const array = [1, 2, 3, 4]
    const paris = [...its.pairwise(array)] // => [[1, 2], [2, 3], [3, 4]]

    List of iterators

    • pairwise
    • pairwiseCircular

    Keywords

    none

    Install

    npm i @lazarljubenovic/iterators

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • lazarljubenovic