Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eomm/convert-units

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eomm/convert-units - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

14

lib/definitions/pace.js

@@ -15,2 +15,9 @@ const metric = {

to_anchor: 1
},
's/km': {
name: {
singular: 'Second per kilometre',
plural: 'Seconds per kilometre'
},
to_anchor: 0.001
}

@@ -33,2 +40,9 @@ }

to_anchor: 1
},
's/mi': {
name: {
singular: 'Second per mile',
plural: 'Seconds per mile'
},
to_anchor: 1 / 5280
}

@@ -35,0 +49,0 @@ }

2

lib/index.d.ts

@@ -11,3 +11,3 @@ declare module "convert-units" {

type uSpeed = "m/s" | "km/h" | "m/h" | "knot" | "ft/s"; // Speed
type uPace = "s/m" | "min/km" | "s/ft" | "min/km"; // Pace
type uPace = "s/m" | "min/km" | "s/km" | "s/ft" | "min/mi" | "s/mi"; // Pace
type uPressure = "Pa" | "hPa" | "kPa" | "MPa" | "bar" | "torr" | "psi" | "ksi"; // Pressure

@@ -14,0 +14,0 @@ type uDitgital = "b" | "Kb" | "Mb" | "Gb" | "Tb" | "B" | "KB" | "MB" | "GB" | "TB"; // Digital

{
"name": "@eomm/convert-units",
"version": "1.0.0",
"version": "1.1.0",
"description": "Convert between quantities in different units",
"private": false,
"main": "lib",

@@ -6,0 +7,0 @@ "scripts": {

@@ -262,4 +262,6 @@ # @eomm/convert-units

* min/km
* s/km
* s/ft
* min/km
* s/mi

@@ -266,0 +268,0 @@ ### Pressure

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