An open API service indexing awesome lists of open source software.

https://github.com/el634dev/date-library

Date Object wrapper that includes functions to help work with the Date Object
https://github.com/el634dev/date-library

date date-object npm-package typescript

Last synced: 3 months ago
JSON representation

Date Object wrapper that includes functions to help work with the Date Object

Awesome Lists containing this project

README

          

# Date Library
![GitHub License](https://img.shields.io/badge/license-MIT-blue)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/el634dev/date-library)
![GitHub repo size](https://img.shields.io/github/repo-size/el634dev/date-library)

Date library is a JS library which provides straight-forward, powerful functions for working with the Date Object in JavaScript. Although originally builted into JavaScript and can be called by using `new Date()`, it can also be used with other objects and for other purposes. A TypeScript version will be included in the main library that should available for use automatically.

## Table of Contents
* [Features](#features)
* [Installing](#installing)
* [License](#license)
* [Keywords](#keywords)

## Features
- Get the year or month first when formatting
- Get the difference between days to get a future or past day
- Retrive the current seconds, month, day or year
- Retrieve the month or year in abbrievated form

## Installing
Packgae Manager

Using npm:
`$ npm i @evacuatesw/date-library`

Using yarn:
``$ yarn add @evacuatesw/date-library`

# NPM
[NPM Page](https://www.npmjs.com/package/@evacuatesw/date-library)

## License
[MIT](https://github.com/el634dev/date-library/blob/main/LICENSE.txt)

## Keywords
date javascript date object