Socket
Socket
Sign inDemoInstall

@turist/time

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @turist/time

Making time pass faster on the ship


Version published
Weekly downloads
269K
decreased by-1.04%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

time

Easily convert time to milliseconds

Examples

import time, { TimeUnit } from "@turist/time"

console.log(time(10, TimeUnit.Minute))
console.log(time(1, TimeUnit.Hour))

Available TimeUnits are Year, Week, Day, Hour, Minute, Second, MilliSecond

FAQs

Last updated on 05 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc