stint
v0.0.2
Published
Testable wrapper for setTimeout.
Downloads
4
Readme
stint
Testable wrapper for setTimeout.
File size: xxx bytes. Supported platforms: server and browser. Supported language versions: ES5 and above.
If you use this library in your software please tweet me @benastontweet.
Installation
npm install stint
Example
var stint = require('stint');
var id = stint.set(500, cb);
stint.clear(id);
License & Copyright
This software is released under the MIT License. It is Copyright 2015, Ben Aston. I may be contacted at [email protected].
How to Contribute
Pull requests including bug fixes, new features and improved test coverage are welcomed. Please do your best, where possible, to follow the style of code found in the existing codebase.