0.1.0 • Published 10 years ago

sleep.js v0.1.0

Weekly downloads
185
License
WTFPL
Repository
github
Last release
10 years ago

sleep.js

Sometimes you wanna sleep (in a real blocking way)

Usage

console.log('Good')
sleep(1000) // -> miliseconds to wait
console.log('Morning') // -> after 1 second

Installation

Node.js

npm install sleep.js

Browser

bower install sleep.js
component install h2non/sleep.js
<script src="//cdn.rawgit.com/h2non/sleep.js/0.1.0/sleep.js"></script>

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE