Ninja Pumpkin Mutants

    set-interval-n

    1.0.0 • Public • Published

    set-interval-n

    setInterval() n times.

    Installation

    npm install set-interval-n
    

    Usage

    const setIntervalN = require('set-interval-n')
     
    setIntervalN(i => console.log(i), 1000, n = 3)
     
    // ==> 0
        // ==> 1
            // ==> 2

    License

    WTFPL – Do What the F*ck You Want to Public License.

    Made with ❤️ by @MarkTiedemann.

    Install

    npm i set-interval-n

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    WTFPL

    Last publish

    Collaborators

    • marktiedemann