Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ndhoule/after

Wrap a function in a function that will invoke the original function when invoked n or more times.
https://github.com/ndhoule/after

Last synced: 13 days ago
JSON representation

Wrap a function in a function that will invoke the original function when invoked n or more times.

Awesome Lists containing this project

README

        

# after [![CI][ci-badge]][ci-link]

Wrap a function `fn` in a function that will invoke `fn` when invoked `n` or more times.

## Installation

```sh
$ npm install @ndhoule/after
```

## License

Released under the [MIT license](LICENSE.md).

[ci-link]: https://travis-ci.org/ndhoule/after
[ci-badge]: https://travis-ci.org/ndhoule/after.svg?branch=master