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

0.3.0 • Public • Published

globl npm

Exported globals it would be nice to mock.

  • setTimeout
  • clearTimeout
  • setInterval
  • clearInterval
  • setImmediate
  • clearImmediate
  • requestAnimationFrame
  • cancelAnimationFrame
  • console
  • process
  • Date
  • performance

Install

$ yarn add globl

Usage

import { setTimeout } from 'globl'
 
setTimeout(() => {
  console.log('Time\'s up')
}, 1000)

Readme

Keywords

Package Sidebar

Install

npm i globl

Weekly Downloads

64,778

Version

0.3.0

License

MIT

Unpacked Size

4.5 kB

Total Files

5

Last publish

Collaborators

  • fosimus
  • psxcode
  • deepsweet