Skip to content

VeqsaGit/waiting-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Waiting-js

Very useful for timing code, or waiting.
First package made by Veqsa

Installation

How to install the waiting package using npm

npm install waiting-js

Usage

How to use the waiting package

const waiting = require('waiting-js')
waiting.sleep({
    time: 2, // Amount of time the code should wait
    time_format: 'seconds' // Format of the time
})

time_format

  • Hours - 'hours', 'h'
  • Minutes - 'minutes', 'min', 'm'
  • Seconds - 'seconds', 'sec', 's'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published