@nehasharma/tempconvert

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i @nehasharma/tempconvert

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

2.83 kB

Total Files

3

Last publish

Collaborators

  • nehasharma