Skip to content

includeDaniel/temperature-conversor

Repository files navigation

temperature-conversor

GitHub license main npm version codecov

npm i @includedaniel/temperature-conversor
yarn add @includedaniel/temperature-conversor

Usage:

//module
import { temperatureConversor } from "@includedaniel/temperature-conversor"
console.log(temperatureConversor("C", "F", 30)) // 86
//commomjs
const {temperatureConversor,} = require("@includedaniel/temperature-conversor")
console.log(temperatureConversor("C", "F", 30)) // 86

Running tests:

  • Run yarn test to execute the tests and export the reports to /coverage folder

Running lint:

  • Run yarn lint to execute the eslint to fix and find problems in your code
  • want to know more about eslint commands? Follow the link

Running prettier:

  • Run yarn format to format the code according to established standards
  • Run yarn type-check to check the types in your code

Running rollup: