Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

few2-1-date-library

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

few2-1-date-library

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

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 15 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc