1.0.5 • Published 2 years ago

simplecronos v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Simplecronos is the best and most simple way of getting the time.

Here's why you should use simplecronos

  • Quick install
  • Isn't heavy
  • Simple

Simplecronos is your best option when trying to get the time.


DOCUMENTATION

First, at the top of your node js file, do

const simplecronos = require('simplecronos')

This way, we obviously import the package.


To get the current year

simplecronos.getYear();


To get the day with the month and year included

simplecronos.getDay();


To get the same thing above but with the time included

simplecronos.getDayWithTime()


To test the package

simplecronos.test();

(you must check the console when running this command to see if it works)


To get the time with seconds

simplecronos.getTimeWithSeconds();


To get the time

simplecronos.getTime();


To log the time in a text file

simplecronos.logTime();


To log the time with seconds in a text file

simplecronos.logTimeWithSeconds();


To log the day in a text file

simplecronos.logDay();


To log the year in a text file

simplecronos.logYear();


To log the day with time in a text file

simplecronos.logDayWithTime();


That would be all for now. See? I told you it was super simple! This will get more updates if I can.

Well, goodbye! Hope you enjoy this lil' package!

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago