Skip to content

Node.js CLI for quick and easy cryptocurrency conversions

License

Notifications You must be signed in to change notification settings

ssalka/coinvert

Repository files navigation

coinvert

Node.js CLI for quick and easy cryptocurrency conversions

npm (scoped) CircleCI

Installation

coinvert is made available for install through NPM:

npm install -g @ssalka/coinvert

// or

yarn global add @ssalka/coinvert

Usage

CLI

coinvert performs a simple async request to fetch the current conversion price for a given pairing, and performs the conversion on a given amount:

coinvert 1 USD to USDT
> 1 USD = 1 USDT

Named Export

import { coinvert } from '@ssalka/coinvert';

coinvert(1, 'USD', 'USDT').then(console.log); // 1

About

Node.js CLI for quick and easy cryptocurrency conversions

Resources

License

Stars

Watchers

Forks

Packages

No packages published