Skip to content

Latest commit

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date

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 programDescription
a. npm startsimilar to running "npm install -g"
b. dateerun program with help as default to show options

Direct:

Run directly with optionsOptionDescription
node ./src/index.js-h / --helprun with help option
node ./src/index.js-c / --clirun using console/terminal option
node ./src/index.js-f / --fileloads "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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages