Socket
Socket
Sign inDemoInstall

cracket

Package Overview
Dependencies
169
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cracket

CLI app to keep track of cryptocurrency trends


Version published
Weekly downloads
11
increased by450%
Maintainers
1
Install size
28.3 MB
Created
Weekly downloads
 

Readme

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

Last updated on 27 Nov 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc