A nodejs crypto currency converter library that doesn't require subscribing to any API calls.
npm install crypto-converter-lt  !supported node versions 
!license: MIT   !npm
A minimal crypto crypto converter library for NodeJS that works out of the box.
This package can be installed using npm
``bash`
npm install crypto-converter-lt
or, yarn
`bash`
yarn add crypto-converter-lt
Import crypto-converter-lt.
`javascript`
const CC = require('crypto-converter-lt')
Then instantiate with either the empty constructor
`javascript`
let cryptoConverter = new CC()
Or, with a json object
`javascript`
let cryptoConverter = new CC({from:"BTC", to:"ETH", amount:100})
The convert method will return the conversion based on the last conversion rate and can be used as a promise.
`javascript`
cryptoConverter.convert().then((response) => {
console.log(response) //or do something else
})
convert can also take the amount as a parameter.
`javascript`
cryptoConverter.convert(100).then((response) => {
console.log(response) //or do something else
})
To find the rates use the rates method.
`javascript`
cryptoConverter.rates().then((response) => {
console.log(response) //or do something else
})
Chaining is also supported.
`javascript``
cryptoConverter.from("LTC").to("ETH").amount(125).convert().then((response) => {
console.log(response) //or do something else
})
If any issues are found, they can be reported here.
This project is licensed under the MIT license.