# temperature.conversion

> Temperature Conversion NPM Module (as requested by Jtryon from Livecoding.tv)

Latest version **2.0.0** (published 2016-05-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install temperature.conversion
pnpm add temperature.conversion
yarn add temperature.conversion
bun add temperature.conversion
```

Provides the commands `c2f`, `f2c`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2016-05-15 |
| First published | 2016-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Cates |
| Maintainers | chriscates |
| Keywords | Chris, Cates, Temperature, Conversion |

## Links

- npm: https://www.npmjs.com/package/temperature.conversion
- Repository: https://github.com/ChrisCates/temperature.conversion
- Homepage: https://github.com/ChrisCates/temperature.conversion#readme
- Issues: https://github.com/ChrisCates/temperature.conversion/issues
- npm.io page: https://npm.io/package/temperature.conversion

## Recent versions

- 2.0.0 (latest) — 2016-05-15
- 1.0.0 — 2016-05-15

## README

# temperature.conversion [![Coverage Status](https://coveralls.io/repos/github/ChrisCates/temperature.conversion/badge.svg?branch=master)](https://coveralls.io/github/ChrisCates/temperature.conversion?branch=master) [![Build Status](https://travis-ci.org/ChrisCates/temperature.conversion.svg?branch=master)](https://travis-ci.org/ChrisCates/temperature.conversion)

## Temperature Conversion NPM Module (as requested by Jtryon from Livecoding.tv)

### By Chris Cates :star:

### Email: hello@chriscates.ca

### Usage (As described in tests.js)

```javascript
describe('Celsius to Fahrenheit', () => {
  it('Should return 32', () => {
    assert(calc.celsiusToFahrenheit(0),32)
  })
  it('Should return 77', () => {
    assert(calc.celsiusToFahrenheit(25),77)
  })
  it('Should return 50', () => {
    assert(calc.celsiusToFahrenheit(50),122)
  })
})

describe('Fahrenheit to Celsius', () => {
  it('Should return -15', () => {
    assert(calc.fahrenheitToCelsius(5), -15)
  })
  it('Should return 10', () => {
    assert(calc.fahrenheitToCelsius(50), 10)
  })
  it('Should return 40', () => {
    assert(calc.fahrenheitToCelsius(104), 40)
  })
})
```

### Usage as command line tool

```javascript
c2f 20
// returns 68
f2c 50
// returns 10
```

---
_Source: https://npm.io/package/temperature.conversion · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
