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

@messari/cli

v1.0.16

Published

Messari Crypto CLI (mcrypto) is a tool for getting cryptocurrency market data, news, and more!

Downloads

13

Readme

Messari CLI (mcrypto) 🔌

mcrypto is an advanced crypto market data provider via the command line. Once initialized, mcrypto has a set of cli arguments that will be available for use allowing end-users to fetch specific data about a cryptocurrency.

All Data is sourced from Messari.io and will require a user-generated Messari API Key

How to Install

You need to install Node.js first, then install the tool globally using npm via this command:

$ npm install -g mcrypto

This will install mcrypto globally, so it will be added automatically to your PATH.

How to Initialize

In order to enable the market data cli commands, mcrypto must be initialized using a Messari API Key. Run the following:

$ mcrypto --init <api_key>

Create Messari API Key

It takes 1 minute to create a Messari API key by doing the following:

  1. Navigate to messari.io
  2. Login (or sign up if you don't have an account - we will only be using it to generate an API Key)
  3. Navigate to Account via the avatar on the top right of the navigation bar
  4. Select Manage API Key at the bottom of the Account Overview page
  5. Select Create New API Key on the API Key section which will generate and display a new API Key
  6. Copy the API Key and use it in How To Initialize

The API key being displayed above is invalid and will not work for you :)

Available Commands

You can also try the help command yourself to see the available commands

Usage: mcrypto [options]

Cryptocurrency market data at your fingertips.

Options:
  -a --asset <ticker>               Get asset profile
  -md --market_data <ticker...>     Get asset(s) market data
  -ath --all_time_high <ticker...>  Get asset(s) all time high data
  -lend --lending <ticker>          Get lender/borrower rates and general defi data
  -chain --blockchain <ticker>      Get information about the blockchain
  -roi --roi <ticker>               Get ROI numbers
  -dev --developers <ticker>        Get GitHub repository data
  -news --news [ticker]             Get current Messari news (ticker optional)
  -sat --satoshi                    Get satoshi's net worth
  -i, --init <api_key>              Enter Messari API Key
  -h, --help                        Display help for more commands

Try them for yourself.

Examples

Get asset profile -a --asset

Get current Messari news for asset -news --news

Get asset market data -md --market_data

Get all time high data -ath --all_time_high

Get lender/borrower rates and general lending data -lend --lending

Get information about the blockchain -chain --blockchain

Get satoshi's net worth -sat --satoshi

What's Next?

  • [ ] Add up and down arrows to +/- columns to indicate movement direction
  • [ ] --lending Display lending/borrowing tables next to each other
  • [ ] Consolidate config access to a single file
  • [ ] Add color on a per column basis (limitation on current table lib)