@ukon1990/js-utilities
Advanced tools
Comparing version 1.3.0 to 1.3.1-beta.0
{ | ||
"name": "@ukon1990/js-utilities", | ||
"version": "1.3.0", | ||
"version": "1.3.1-beta.0", | ||
"description": "A light weight package for object and array manipulation. As well as some utilities for matching text.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -41,8 +41,8 @@ # Javascript utilities | ||
## DateUtil | ||
* `getDifferenceInMS` - Returns the difference between two dates in milliseconds | ||
* `getDifferenceInSeconds` - Returns the difference between two dates in seconds | ||
* `getDifferenceInMinutes` - Returns the difference between two dates in minutes | ||
* `getDifferenceInHours` - Returns the difference between two dates in hours | ||
* `getDifferenceInDays` - Returns the difference between two dates in days | ||
* `getDifferenceInWeeks` - Returns the difference between two dates in weeks | ||
* `timeSince` - Returns the time since a provided date. The second parameter can be empty(defaults to ms) or `s`/`seconds`, `m`/`minutes`, `h`/`hours`, `d`/`days`, `w`/`weeks`. | ||
* `getDifferenceInMS(fromDate, toDate)` - Returns the difference between two dates in milliseconds | ||
* `getDifferenceInSeconds(fromDate, toDate)` - Returns the difference between two dates in seconds | ||
* `getDifferenceInMinutes(fromDate, toDate)` - Returns the difference between two dates in minutes | ||
* `getDifferenceInHours(fromDate, toDate)` - Returns the difference between two dates in hours | ||
* `getDifferenceInDays(fromDate, toDate)` - Returns the difference between two dates in days | ||
* `getDifferenceInWeeks(fromDate, toDate)` - Returns the difference between two dates in weeks | ||
* `timeSince(fromDate)` - Returns the time since a provided date. The second parameter can be empty(defaults to ms) or `s`/`seconds`, `m`/`minutes`, `h`/`hours`, `d`/`days`, `w`/`weeks`. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
173640
83
2536
2