accumulate-call
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

accumulate-call Build Status npm version

Accumulate function calls

Install

npm install accumulate-call

Usage

import { accumulateUntil } from 'accumulate-call';

document.body.addEventListener('click', accumulateUntil((events) => {
    console.log(`Clicked ${events.length} times`);
}, 1000));

API

See type definitions.

Author

aereal

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i accumulate-call

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aereal