Skip to content

fwd/time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cover

@fwd/time 💾

A NodeJS package to simplify milliseconds.

Install

npm install fwd/time

Usage

const time = require('@fwd/time')

time(1, 'second') // 1000 ms

time(5, 'hours') // 18000000 ms

Parameters

time(integer, timeInterval)

Available Intervals

  • second(s)
  • minute(s)
  • hour(s)
  • day(s)
  • month(s)
  • year(s)

👤 Author

twitter.com/@nano2dev

🤝 Contributing

Give a ⭐️ if this project helped you!

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

📝 License

MIT License