clockjs-npm

1.3.2 • Public • Published

Clock.js

Play with the time !

Short exemple

const clock = require('clockjs-npm');

console.log(`The date is ${clock.clockToString`)

...or json version

console.log(${clock.clock})

Get the minutes, seconds, milliseconds, year, month...

console.log(clock.day.Minutes, clock.day.Seconds)

...Create a time tab

const RandomName = [
    new clock.Tab(clock.day.Day, clock.day.Year)
]

About

Read more on the documentation

Package Sidebar

Install

npm i clockjs-npm

Weekly Downloads

5

Version

1.3.2

License

ISC

Unpacked Size

1.85 kB

Total Files

3

Last publish

Collaborators

  • terracrow