C U R R B I T
An API to convert any world currency to Bitcoin value!
Install
$ npm install --save currbit
Usage
Random Currencies
const currbit = require('currbit');
currbit().then(res => {
console.log(res);
});
currbit().then(res => {
console.log(res);
});
Specific Currency Code
currbit('usd').then(res => {
console.log(res);
});
Specific currency with value
currbit('100000 Iranian rial').then(res => {
console.log(res);
})
API
currbit()
Returns bitcoin value of random currencies!
currbit(curr)
Returns bitcoin value of specific currecy!
curr
Type :
string
Related
C2B
:
Easily convert any World Currency into Bitcoin
License
MIT © Rishi Giri