diff --git a/README.md b/README.md index 0b77ec1..3b36156 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ ![holyTime](https://github.com/tomcru/holy-time/assets/35841182/51051dd9-d0db-4bf7-9cbd-21bcc8c98fd5) -[![License: MIT][license-image]][license-url] -[![NPM version][npm-image]][npm-url] -[![JSR version][jsr-image]][jsr-url] +# Holy Time -> Yet another (type-safe) date time library +[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square)](https://opensource.org/licenses/MIT) +[![NPM version](https://img.shields.io/npm/v/holy-time.svg?style=flat-square)](https://npmjs.org/package/holy-time) +[![JSR version](https://jsr.io/badges/@badosz/holy-time?style=flat-square)](https://jsr.io/@badosz/holy-time) + +Yet another (type-safe) date time library. ## Installation @@ -18,6 +20,10 @@ OR $ yarn add holy-time ``` +## Resources + +- [Documentation](https://jsr.io/@badosz/holy-time/doc/~/default) + ## Examples ```ts import HolyTime from 'holy-time' @@ -30,7 +36,7 @@ HolyTime HolyTime .between( - HolyTime.add(HolyTime.startOf('day'), 10_000), + HolyTime.add(HolyTime.startOf('day'), 2, 'hours'), HolyTime.now() ) .in('hours') @@ -50,13 +56,3 @@ HolyTime .add(30, 'minutes') .in('seconds') -## License - -[MIT](https://tldrlegal.com/license/mit-license) - -[license-image]: https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square -[license-url]: https://opensource.org/licenses/MIT -[npm-image]: https://img.shields.io/npm/v/holy-time.svg?style=flat-square -[npm-url]: https://npmjs.org/package/holy-time -[jsr-image]: https://jsr.io/badges/@badosz/holy-time?style=flat-square -[jsr-url]: https://jsr.io/@badosz/holy-time diff --git a/jsr.json b/jsr.json index d66d1ab..62794d2 100644 --- a/jsr.json +++ b/jsr.json @@ -1,5 +1,5 @@ { "name": "@badosz/holy-time", - "version": "5.3.0", + "version": "5.4.0", "exports": "./src/index.ts" } diff --git a/package.json b/package.json index 6c08a92..75bb02a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "holy-time", - "version": "5.3.0", + "version": "5.4.0", "description": "Utility functions", "repository": "Yet another (type-safe) date time library", "main": "dist/index.js",