Skip to content

This package allows you to convert temperatures between Celsius and Fahrenheit.

License

Notifications You must be signed in to change notification settings

alexscespedes/convert-temp-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Converter GPT

This package allows you to convert temperatures between Celsius and Fahrenheit. (Provided by ChatGPT)

Table of Contents

Installation

npm install convert-temp-npm

Usage

const { celsiusToFahrenheit, fahrenheitToCelsius } = require('convert-temp-npm');

const celsius = 30;
const fahrenheit = celsiusToFahrenheit(celsius);
console.log(`${celsius} grados Celsius son ${fahrenheit} grados Fahrenheit.`);

const newCelsius = fahrenheitToCelsius(fahrenheit);
console.log(`${fahrenheit} grados Fahrenheit son ${newCelsius} grados Celsius.`);

About

This package allows you to convert temperatures between Celsius and Fahrenheit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published