@loadsmart/utils-temperature
v0.1.1
Published
useful functions for manipulating temperatures
Downloads
4
Maintainers
Keywords
Readme
temperature
useful functions for manipulating temperatures
Install via NPM
$ npm i @loadsmart/utils-temperature --save
Install via yarn
$ yarn add @loadsmart/utils-temperature
Usage
import React from 'react'
import {
celsiusToFahrenheit,
fahrenheitToCelsius,
} from '@loadsmart/utils-temperature'
export default () => (
<div>
temperature in Fahrenheit: {celsiusToFahrenheit('100')}
temperature in Celsius: {fahrenheitToCelsius('100')}
</div>
)