Socket
Book a DemoInstallSign in
Socket

@loadsmart/utils-measurement

Package Overview
Dependencies
Maintainers
20
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/utils-measurement

functions to convert units

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
20
Created
Source

BundlePhobia BundlePhobia

utils-measurement

useful functions for manipulating measurement

Install via NPM

$ npm i @loadsmart/utils-measurement --save

Install via yarn

$ yarn add @loadsmart/utils-measurement

Usage

import React from 'react'
import {
  celsiusToFahrenheit,
  fahrenheitToCelsius,
  kmToMiles,
  kgToPounds,
} from '@loadsmart/utils-measurement'

export default () => (
  <div>
    temperature in Fahrenheit: {celsiusToFahrenheit(100)}
    temperature in Celsius: {fahrenheitToCelsius(100)}
    KM in Miles: {kmToMiles(100)}
    Kg in Pounds: {kgToPounds(100)}
    temperature in Celsius: {fahrenheitToCelsius(100)}
  </div>
)

Keywords

measurement

FAQs

Package last updated on 21 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts