New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ukon1990/js-utilities

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ukon1990/js-utilities - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1-beta.0

dist/index.d.ts

2

package.json
{
"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`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc