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

1.0.3 • Public • Published

nano-throttle

Minimal throttle function with trailing call support. 102 bytes (minified and gzipped) Size Limit controls the size

Install

npm install nano-throttle --save

Usage

import throttle from 'nano-throttle';
 
throttle(callback, ms);
throttle(callback, ms, false); // without trailing call
 

Readme

Keywords

Package Sidebar

Install

npm i nano-throttle

Weekly Downloads

16

Version

1.0.3

License

ISC

Unpacked Size

2.69 kB

Total Files

5

Last publish

Collaborators

  • gramkin