npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

coingecko-cli

v1.6.1

Published

a tool for receiving coingecko data right in your command line

Downloads

7

Readme

CoinGecko-CLI 💻

A Command-Line tool to retrieve all CoinGecko data in your command line

Small show case of the cli

Installation

  • This project requires node, you can install it here

  • Once you have node installed, you can just run npm i -g coingecko-cli to install the coingecko-cli globally on your computer

  • Congrats🥳 ! You now have the coingecko-cli installed.

To check if it's working, just run cg btc -p

If it works, the Bitcoin price and price change over the last 24 hours should appear in your command line!


Features

  • Display an overview of an coin by typing cg COIN_NAME

  • You can see the current price of a coin by running cg COIN_NAME -p or --price or by running cg price COIN_NAME

  • You can see the marketcap of a coin by running cg COIN_NAME -mc or --marketcap

  • You can see stats of the current supply of a coin by running cg COIN_NAME -s or --supply

  • You can see trending coins on coingecko by typing cg trending in your command line.

  • You can see a description of the coin by typing cg COIN_NAME -ds or --description

  • You can see stats about the developers of a certain project by typing cg COIN_NAME -dev

  • You can see the Fully diluted valuation of a coin by typing cg COIN_NAME -fdv

  • You can see a chart of a coin in your command line by typing cg chart COIN_NAME INSERT_AMOUNT_OF_DAYS_BACK_HERE

    for example by typing cg chart eth 10 you get an ethereum chart displayed going back 10 days

  • You can see a chart of the market cap coin in your command line by typing cg chart COIN_NAME INSERT_AMOUNT_OF_DAYS_BACK_HERE -mc

    for example by typing cg chart eth 10 -mc you get an ethereum market cap chart displayed going back 10 days

  • You can see the sentiment of a certain coin by typing cg COIN_NAME --sentiment

  • You can see tickers of a coin and where you can trade it by typing cg COIN_NAME -t or --tickers

  • You can see the top coins sorted by descending market cap (biggest market cap fist) cg top NUMBER

    for example by typing cg top 50 you get the top 50 coins by market cap.

Edit Default settings

  • Go into the node_modules folder where you installed the cli. and edit the coingecko-cli/scr/util/config.js file to your preffered defaults.

Support the project

Contribute

Please feel free to create a GitHub issue or send me a message on telegram to report bugs, suggest features, or ask questions.

Share

Share the project with your friends and followers.

Donate

BTC: bc1q5jrx8aw5c4wq76rl0etxfhvv69gtnj7v3ldstc
ETH/ERC-20: 0xb1dC2Cf172592bd2CdDCBD530A4a72a15b0D1ace
SOL/SPL: holt.sol or BFqpAdbRkubMVSdKu2EwSE347Rv2zWucDTbAfDLQPbDb


Contact

TwitterEmailTelegram


Licence

MITholt. CoinGecko-CLI