# stockify

> Stockify is a module for obtaining real time currency exchange rate for any pair of physical currency(e.g. INR) or digital/crypto currency(e.g. bitcoin).

Latest version **1.0.7** (published 2018-03-28) · MIT license · 0 weekly downloads

## Install

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

## 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.7 |
| Published | 2018-03-28 |
| First published | 2018-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Vikram Singh |
| Maintainers | maverickjoy |
| Keywords | exchange, rates, stock, digital, crypto, currency, bitcoin, convertor, alphavantage |

## Links

- npm: https://www.npmjs.com/package/stockify
- Repository: https://github.com/maverickjoy/stockify
- Homepage: https://github.com/maverickjoy/stockify#readme
- Issues: https://github.com/maverickjoy/stockify/issues
- npm.io page: https://npm.io/package/stockify

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.85.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2018-03-28
- 1.0.6 — 2018-03-28
- 1.0.5 — 2018-03-28
- 1.0.4 — 2018-03-28
- 1.0.3 — 2018-03-27
- 1.0.2 — 2018-03-27
- 1.0.1 — 2018-03-27
- 1.0.0 — 2018-03-27

## README

# Stockify

[![NPM][npm-image]][npm-url] [![MIT][mit-image]][mit-url]

Stockify is a module for obtaining currency exchange rates for physical and digital/crypto currency.

## Installation

```bash
npm install stockify
```

## Usage

```javascript
const rate = require("stockify");

// convert function returns a promise
// Parameters - { from currency(ISO 4217 format), to currency(ISO 4217 format), Amount(Optional Parameter)}

rate.convert("INR", "USD").then( data => {
  console.log(JSON.stringify(data, null, 4));
});

rate.convert("INR", "USD", 5).then( data => {
  console.log(JSON.stringify(data, null, 4));
});

```

## Notes

* It uses `alphavantage`
* For currency code reference : [wiki link](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)

## License

MIT License 2018 © Vikram Singh and [contributors](https://github.com/maverickjoy/stockify/graphs/contributors)

[npm-url]: http://npmjs.org/package/stockify
[npm-image]: https://badge.fury.io/js/stockify.svg

[mit-image]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: https://opensource.org/licenses/MIT

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