Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ndhoule/after
- Owner: ndhoule
- License: mit
- Created: 2016-05-09T22:10:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T22:24:35.000Z (over 8 years ago)
- Last Synced: 2024-10-10T20:46:28.512Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
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