Skip to content

gramkin/nano-debounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nano-debounce

Minimal debounce function with immediate call support. 65 bytes (minified and gzipped) Size Limit controls the size

Install

npm install nano-debounce --save

Usage

import debounce from 'nano-debounce';

debounce(callback, ms);
debounce(callback, ms, true); // with immediate call

About

Minimal debounce function implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published