@loadsmart/utils-measurement
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

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>
)

Package Sidebar

Install

npm i @loadsmart/utils-measurement

Weekly Downloads

23

Version

0.3.2

License

MIT

Unpacked Size

3.97 kB

Total Files

7

Last publish

Collaborators

  • bruno.manzo
  • felipe.asantos
  • giovannitoledo
  • douglasklein2
  • luiz.loadsmart
  • mwconceicao
  • yidi0912
  • lenoir.zamboni
  • diogomafra
  • oliver.tso
  • loadsmart-frontend
  • brennervaz
  • raittes
  • welingtonms-loadsmart
  • gutofoletto