diff-ymd-package
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,9 +0,9 @@ | ||
# Changelog | ||
## Changelog | ||
All notable changes to diff-ymd-package will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), | ||
All notable changes to diff-ymd-package will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), | ||
and follows the guidelines from [Keep a Changelog](https://keepachangelog.com/). | ||
## [Unreleased] - 2024-01-15 | ||
### [Unreleased] - 2024-01-15 | ||
### Added | ||
#### Added | ||
@@ -16,12 +16,30 @@ - Initial implementation of the DatesYMD utility class. | ||
## [v1.0.0-beta.1] - 2024-01-15 5:15 pm | ||
### [v1.0.0-beta.1] - 2024-01-15 5:15 pm | ||
## [v1.0.0] - 2024-01-15 9:30 pm🕤 | ||
### [v1.0.0-beta.1] - 2024-01-15 9:30 pm🕤 | ||
## [Next Release] - Planning release time | ||
### [v1.0.0] - 2024-01-16 | ||
## Important changes links: | ||
#### Fixed | ||
- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v1.0.0...HEAD) | ||
- [v1.0.0](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v1.0.0) | ||
fixed some prerequisites for making package available on npm through "Github Packages" | ||
### [v1.0.1] | ||
#### Fixed | ||
fixed some issues and configured files for v1.0.1 | ||
### [v1.0.2] | ||
#### Fixed | ||
fixed some issues and configured files for publishing diff-ymd-package v1.0.2 on npm registry | ||
### [Next Release] - Planning release time | ||
### Important changes links: | ||
- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v1.0.2...HEAD) | ||
- [v1.0.2](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v1.0.2) | ||
- [Next Release](https://github.com/farhan7reza7/diff-ymd-package/milestone/2) |
{ | ||
"name": "diff-ymd-package", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Utility class for calculating the difference between two dates in (aYears bMonths cDays)(aY bM cD) format.", | ||
@@ -37,5 +37,5 @@ "main": "src/diff-ymd.js", | ||
"bugs": { | ||
"url": "https://github.com/farhan7reza7/diff-ymd-package/blob/main/.github/ISSUE_TEMPLATE.md" | ||
"url": "https://github.com/farhan7reza7/diff-ymd-package/blob/main/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md" | ||
}, | ||
"homepage": "https://github.com/farhan7reza7/diff-ymd-package/blob/main/README.md" | ||
} |
@@ -5,2 +5,4 @@ # diff-ymd-package | ||
[![NPM Version](https://img.shields.io/npm/v/diff-ymd-package)](https://www.npmjs.com/package/diff-ymd-package) | ||
[![License](https://img.shields.io/github/license/farhan7reza7/diff-ymd-package)](https://opensource.org/licenses/MIT) | ||
@@ -12,2 +14,4 @@ | ||
### Install from `npm registry` | ||
```bash | ||
@@ -18,7 +22,16 @@ npm install diff-ymd-package | ||
### Install from `Github Packages` registry | ||
```bash | ||
npm install @farhan7reza7/diff-ymd-package | ||
``` | ||
## Usage | ||
```javascript | ||
const DatesYMD = require('diff-ymd-package'); | ||
//const DatesYMD = require('@farhan7reza7/diff-ymd-package'); or | ||
const DatesYMD = require('diff-ymd-package'); // can use any | ||
const date1 = '2022-01-01'; | ||
@@ -25,0 +38,0 @@ const date2 = '2023-12-31'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
1052185
106