Date Library Project
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:
- This class of functions provides human readable values for year, month, date, hours minutes and seconds.
- 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.
- 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
- Added unit test with 'Jest' Library
- Added Badges