Have ideas to improve npm?Join in the discussion! »

    t-debounce

    0.0.2 • Public • Published

    t-debounce

    npm npm NPM

    The tiny debounce function.

    Installation

    $ npm install t-debounce --save

    How to use

    const debounce = require('t-debounce');
    const deFunc = debounce(() => {
      console.log('exec');
    }, 1000);
     
    for (let i = 0; i < 100; i++) {
      deFunc();
    }

    Install

    npm i t-debounce

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    1.58 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar