few2-1-date-library

1.2.3 • Public • Published

Date Library Project

npm NPM GitHub repo size GitHub issues

For FEW 2.1 (Advanced Javascript) at Make School. Assignment #2.

v1.2.3

Built with Javascript ES6 (Vanilla)

A Library of reusable code that operates on dates. These functions solve the problems below:

  1. This class of functions provides human readable values for year, month, date, hours minutes and seconds.
  2. The format() function adds methods to create mask strings to return dates in easier to read formats. Capital letters give full, padded returns and lowercase letter return short formats.
  3. The when() function gives a human readable description of 'when' a date will occur, whether past or future. This includes years, months and days.

Run

$ 'node src/index' to run program in console

$ 'npm run test' to run tests

$ 'npx --coverage' to check test coverage

$ 'npm install' for dependencies

Updates

  1. Added unit test with 'Jest' Library
  2. Added Badges

Readme

Keywords

none

Package Sidebar

Install

npm i few2-1-date-library

Weekly Downloads

1

Version

1.2.3

License

ISC

Unpacked Size

10.3 kB

Total Files

5

Last publish

Collaborators

  • chrisle26