🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

time-in-words

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time-in-words

Returns the time in words (in English) given valid hour and minute parameters.

1.1.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

time-in-words

Returns the time in words (in English) given valid hour and minute parameters.

Examples

timeInWords(1, 01) // one o'clock
timeInWords(1, 01) // one minute past one
timeInWords(1, 08) // eight minutes past one
timeInWords(1, 15) // fifteen minutes past one
timeInWords(1, 30) // half past one
timeInWords(1, 45) // quarter to two
timeInWords(1, 56) // four minutes to two

Setup

yarn

Then do start and watch for changes

yarn run start

To build once

yarn run build

Running tests

To run tests once

yarn run test

To run tests and watch for changes

yarn run test:watch

FAQs

Package last updated on 10 Oct 2019

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