# konvert

> A tool for fetching latest currency conversion.

Latest version **1.0.2** (published 2019-06-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install konvert
pnpm add konvert
yarn add konvert
bun add konvert
```

## 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 | 1.0.2 |
| Published | 2019-06-15 |
| First published | 2019-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Melodic Crypter |
| Maintainers | melodic_crypter |
| Keywords | currency, convert, konvert |

## Links

- npm: https://www.npmjs.com/package/konvert
- npm.io page: https://npm.io/package/konvert

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0

## Recent versions

- 1.0.2 (latest) — 2019-06-15
- 1.0.1 — 2019-06-15
- 1.0.0 — 2019-06-15

## README

## Konvert 
![NPM](https://img.shields.io/npm/l/konvert.svg) &nbsp; ![npm](https://img.shields.io/npm/v/konvert.svg)

Konvert is a node module for fetching latest currency conversion. It can also get which countries the user can spend the target-currency.
    
    
## Installation
`npm i konvert`
<br>
<br>
or
<br>
<br>
`yarn add konvert`

## Usage
##### Require konvert module.

`const {konvert, konvertCountries} = require('konvert');`

<br>
<br>

##### Getting the current currency conversion.

<br>

// convert 20 pounds to Philippine peso

`konvert('GBP', 'PHP', 20)`

&nbsp;&nbsp;&nbsp;`.then(amount => console.log(amount));`

<br>
<br>

##### Getting all supported countries for the target-currency

<br>

// get all countries that support pounds

`konvertCountries('GBP')`

&nbsp;&nbsp;&nbsp;`.then(countries => console.log(countries));`

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