nano-debounce
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i nano-debounce

Weekly Downloads

6

Version

1.0.5

License

ISC

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • gramkin