1.2.0 • Published 6 years ago

@nehasharma/tempconvert v1.2.0

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

tempConvert

NPM for doing Temperature Converstion

#NPM to take care of your maths calculations in your program.

  • celsiusToKelvin

It will return the temperature in kelvin expecting the passed value is in Celsius

Expect 1 parameter only , temperature in celsius

  • celsiusToFahrenheit

It will return the temperature in Fahrenheit expecting the passed value is in Celsius

Expect 1 parameter only , temperature in celsius

  • kelvinToFahrenheit

It will return the temperature in Fahrenheit expecting the passed value is in Kelvin

Expect 1 parameter only , temperature in kelvin

  • kelvinToCelsuis

It will return the temperature in Celsuis expecting the passed value is in Kelvin

Expect 1 parameter only , temperature in kelvin

  • fahrenheitToCelsuis

It will return the temperature in Celsuis expecting the passed value is in fahrenheit

Expect 1 parameter only , temperature in fahrenheit

  • fahrenheitToKelvin

It will return the temperature in Kelvin expecting the passed value is in fahrenheit

Expect 1 parameter only , temperature in fahrenheit

How to use?

Step 1 : npm install @nehasharma/tempconvert

Step 2 : (in your code file) const tempconvert = require('@nehasharma/tempconvert');

     tempconvert.fahrenheitToKelvin(35);

   

#Found some issue? Mail at neha@jslovers.com