1.1.0 • Published 6 years ago
time-in-words v1.1.0
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 twoSetup
yarnThen do start and watch for changes
yarn run startTo build once
yarn run buildRunning tests
To run tests once
yarn run testTo run tests and watch for changes
yarn run test:watch