1.0.0 • Published 6 months ago

@stkuwanda/temperature-converter v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Temperature Conversion Module

This is a Node.js module exposing functions to convert temperature values between Fahrenheit and Celsius units.

Example usage

const { fahrenheit, celsius } = require('@stkuwanda/temperature-converter');
const celsius = fahrenheitToCelsius(100);
console.log(`100°F is ${celsius}°C`);
const fahrenheit = celsiusToFahrenheit(37);
console.log(`37°C is ${fahrenheit}°F`);

Running tests

To run tests and ensure the module is working as expected, navigate to the module's root directory and execute:

$ npm run test

License

This project is licensed under the MIT license.

1.0.0

6 months ago