JSPM

then-sleep

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

Promise-based sleeping.

Package Exports

  • then-sleep

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 (then-sleep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

then-sleep

Promise-based sleeping.

Installation

npm i then-sleep -S

Usage

var sleep = require('then-sleep');

// Sleep for 1 second and do something then.
sleep(1000).then(...);

License

MIT licensed.