1.0.2 • Published 5 years ago

btc-converter-coindesk v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Btc-converter-coindesk

Build Status Coverage Status

A CLI to convert Bitcoin to any currency provided.

Installing

$ npm i -g btc-converter-coindesk

How to use

btc-converter-coindesk --help

  Usage: bitcoin-converter-coindesk [options]

  Convert Bitcoin to any currency defined

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -C, --currency <currency>  Currency to be converted. (Default: USD)
    -A, --amount <amount>      Value in Bitcoin to convert. (Default: 1)

Dependencies

This library depends on node version 10 or bigger.

Run tests

$ npm test

Programming with TDD

$ npm run test:tdd

Check tests coverage

$ npm run test:coverage

Add project to terminal

$ npm run build
$ npm link