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

2.0.4 • Public • Published

About this

just check setTimeout/setInterval function supports

References

/**
 * return true if timer is installed
 */
function isTimerInstalled():boolean;

/**
 * just throw Error(`${moduleName} needs timer`)
 * if timer is not installed
 */
function timerIsNeeded(moduleName:string):void;

Readme

Keywords

none

Package Sidebar

Install

npm i krchecktimer

Weekly Downloads

3

Version

2.0.4

License

ISC

Unpacked Size

2.11 kB

Total Files

4

Last publish

Collaborators

  • karikera