0.5.0 • Published 7 years ago

@unscsprt/since v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

since

Since is a CLI that calculates the number of days between today and a certain date, past or future.

Installation

npm install -g @unscsprt/since

Usage

since "<input>" [options]

Supported formats for <input> include:

  • American: MM-DD-YYYY (- or /)
  • Asia, Europe: DD-MM-YYYY (-, /, or .)
  • China, Japan, Iran: YYYY-MM-DD (-, /, or .)

Options

OptionDescription
-w, --weeksShow output in units of weeks
-m, --monthsShow output in units of months
-y, --yearsShow output in units of years
-h, --helpShow help

ToDo

  • Flag to enable output as decimal
  • Add support for more input formats
  • Unit tests
  • Support combined unit flags for more granular output (e.g. -wm => 3 months, 2 weeks)

Change log

  • 0.4.x - Add args to show output as weeks, months, or years
  • 0.3.x - Fixed file permission bug
  • 0.2.x - Now supports future dates
  • 0.1.x - Initial release
0.5.0

7 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago