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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.50latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

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