Skip to content

A fast and stable module that provides information about crypto currencies.

License

Notifications You must be signed in to change notification settings

BurakBugraAkar/crypto-global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto-global

npm install crypto-global

EN A fast and stable module that provides information about crypto currencies.

const crypto = require('./crypto.js')
async function output() {
    unit = "bitcoin"
    let name = await crypto.name(unit)
    let price = await crypto.try(unit)
    let vol24 = await crypto.vol24(unit)
    let lower = await crypto.lower(unit)
    let higher = await crypto.higher(unit)
    let percent = await crypto.percent(unit)
    let table = await crypto.table(unit)
    let icon = await crypto.icon(unit)
    let all = await crypto.all(unit)
    console.log(name)
    console.log(price)
    console.log(vol24)
    console.log(lower)
    console.log(higher)
    console.log(percent)
    console.log(icon)
    console.log(table)
    console.log(all)

}
output()

Data output

console.log(name) 

> Bitcoin(BTC)


console.log(all) 

> {
>   name: 'Bitcoin(BTC)',
>   price: '34,943.76',
>   percent: '-7.13',
>   icon: 'https://cdn.discordapp.com/attachments/774285169364172881/800012387742384128/bitcoin.png'
> }

#Units

You can withdraw by typing the name of the crypto money you choose on the coinmarket.com!

#Updates

-> Some bugs fixed!
-> Table / Market / Vol24 / Lower / Higher / TRY / USD functions added!

About

A fast and stable module that provides information about crypto currencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published