This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
2022-05-07 15:04:19 +03:00
|
|
|
# Tyme.js
|
|
|
|
|
|
|
|
[Site](https://justkato.me/) |
|
|
|
|
[Docs/Wiki](https://github.com/JustKato/Tyme.js/wiki) |
|
|
|
|
[Contributing](CONTRIBUTING.md) |
|
|
|
|
|
|
|
|
Building the project yourself:
|
|
|
|
```shell
|
|
|
|
$ git pull https://github.com/JustKato/Tyme.js tymejs
|
|
|
|
$ cd tymejs
|
|
|
|
$ npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Download
|
2022-05-07 15:07:08 +03:00
|
|
|
* [Web build](https://github.com/JustKato/Tyme.js/releases/download/3.0.0/tyme.js-3.0.0.zip.zip)
|
2022-05-07 15:04:19 +03:00
|
|
|
|
|
|
|
Tyme.js is released under the [MIT license](license) & supports modern environments.<br>
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
In a browser:
|
|
|
|
```html
|
|
|
|
<script src="tyme.js"></script>
|
|
|
|
```
|
|
|
|
|
|
|
|
Using npm:
|
|
|
|
```shell
|
|
|
|
$ npm i tymejs
|
|
|
|
```
|
|
|
|
In Node.js:
|
|
|
|
```js
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Why TymeJS?
|
|
|
|
|
|
|
|
TymeJS makes working with JavaScript date objects much easier, I've found myself<br>
|
|
|
|
multiple times in the situation where the client doesn't like their region's date format
|
|
|
|
and requests for custom formats, this consumed a lot of time implementing, so that's why
|
|
|
|
I have created this library, for:
|
|
|
|
* Reliable Date formats
|
|
|
|
* Reliable Time formats
|
|
|
|
* TypeScript Support
|