New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tinx

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinx

A simple time constants library, written in CoffeeScript, usable in JavaScript.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

TinX

"T in X" - A simple time constants library, written in CoffeeScript, usable in JavaScript.

Installation

$ npm install tinx

Use

t = require('tinx');

console.log(t.milliseconds.in.a.second) // 1000
console.log(t.seconds.in.an.hour) // 3600
console.log(t.hours.in.a.day) // 24

Documentation

milliseconds

  • in.a.millisecond
  • in.a.second
  • in.a.minute
  • in.an.hour
  • in.a.day
  • in.a.week
  • in.a.year

seconds

  • in.a.second
  • in.a.minute
  • in.an.hour
  • in.a.day
  • in.a.week
  • in.a.year

minutes

  • in.a.minute
  • in.an.hour
  • in.a.day
  • in.a.week
  • in.a.year

hours

  • in.an.hour
  • in.a.day
  • in.a.week
  • in.a.year

days

  • in.a.day
  • in.a.week
  • in.a.year

Keywords

time

FAQs

Package last updated on 13 Aug 2015

Did you know?

Socket

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