simplecronos v1.0.5
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!