1.0.2 • Published 2 years ago
@matiaslarsson/cfc v1.0.2
my-first-npm-package
Is a package for converting temperature units from Fahrenheit to Celsius and vice versa, returning the converted value as a number and string 'one-sentence' format.
Installation
$ npm install npm
$ npm install --save my-first-npm-package
Usage
const converter = require('my-first-npm-package');
converter.CtoF(30); // Output: La temperatura es de 86°F (Ochenta y Seis) grados fahrenheit
converter.FtoC(86); // Output: La temperatura es de 27°C (Veintisiete) grados celsius