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
- Host: GitHub
- URL: https://github.com/el634dev/date-library
- Owner: el634dev
- License: mit
- Created: 2024-08-30T01:54:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-04T01:18:02.000Z (over 1 year ago)
- Last Synced: 2025-03-25T11:28:28.331Z (over 1 year ago)
- Topics: date, date-object, npm-package, typescript
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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