Skip to content
/ datee Public

CLI implementation of Date Difference counter Daty ( my first soon to publish npm package... )

Notifications You must be signed in to change notification settings

eibay/datee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datee

A simple library for dates comparison. The current application works on fixed format date :

 Input> 15 04 1969, 12 09 1945
Output> 12 09 1945, 15 04 1969, 8616

Ensure you have all the necessary packages needed by running "npm install". To run this program, type the following in your terminal:

As Bin:

Steps to run as bin program Description
a. npm start similar to running "npm install -g"
b. datee run program with help as default to show options

Direct:

Run directly with options Option Description
node ./src/index.js -h / --help run with help option
node ./src/index.js -c / --cli run using console/terminal option
node ./src/index.js -f / --file loads "dates.txt" file and run

Run and verify tests:

- npm test

Credits:

Credits to open source project below to help develop this:

  • @std/esm : enables JS modules and ES6 Syntax
  • commander : enables configurable cli options
  • mocha : javascript test framework
  • chai : BDD / TDD assertion library

License: ( MIT )

About

CLI implementation of Date Difference counter Daty ( my first soon to publish npm package... )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published