🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cracket

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cracket

CLI app to keep track of cryptocurrency trends

0.1.3
latest
npm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

cracket

Small CLI app to track cryptocurrency trends.

Powered by CoinGecko.

Install

$ npm install --global cracket

Usage

By running the cli app without arguments you'll open it with the default behaviour. You can move around using the arrow keys to select a currency or to switch pages. You can also use Tab or Tab+Shift to select a currency.

By pressing Return/Enter when a currency is selected you'll open its detail view which contains some more detailed info and a graph that shows the trends.

You can always type the ? key in any screen in order to get help on how to navigate.

$ cracket --help

  Usage
    $ cracket

  Options
      --per-page  Fixed results per page
      --columns  Fixed columns to show (name,price,1h,24h,7d,volume,marketCap)

  Usage
    Use the arrow keys to switch page.
    Press 'q' or 'Ctrl+C' to exit.

  Examples
    $ cracket --per-page=1 --columns=name,price,1h,24h,7d

    Name      Price     1h        24h       7d
    Bitcoin   $18929.9  -0.34865  -1.03432  7.24047

Libraries

This app uses the following libraries:

  • Ink - Build CLI apps using React and Node.js
  • [React](https://reactjs.org] - A JavScript library for building user interfaces
  • xstate - State machines in JavaScript
  • got - HTTP request library
  • swr - React hooks library for data fetching
  • asciichart - Create ASCII line charts in pure JavaScript
  • term-size - Get terminal size

FAQs

Package last updated on 27 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts