node-slumber

1.0.5 • Public • Published

Slumber Build Status

Promise-based sleeping for node

Install

yarn

$ yarn add node-slumber

npm

$ npm i node-slumber

Usage

const slumber = require('node-slumber');
 
slumber(1000)
    .then(...)

API

slumber(ms)

ms

Type: number

The amount of time in milliseconds you want the process to sleep for.

Package Sidebar

Install

npm i node-slumber

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

2.49 kB

Total Files

5

Last publish

Collaborators

  • luke324