JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24925
  • Score
    100M100P100Q144136F
  • License MIT

Exported globals it would be nice to mock

Package Exports

  • globl

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (globl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)