Skip to content

chrismlee26/date-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Date Library Project FEW2.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published