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

@navxio/coin

v0.2.0

Published

An experimental command line application to track/manage your cryptocurrency portfolio across different exchanges

Downloads

10

Readme

coin

An experimental command line application to track/manage your cryptocurrency portfolio across exchanges

oclif Version Downloads/week License

Installation

With npm

[sudo] npm i -g @navxio/coin

With yarn

yarn global add @navxio/coin

Configuration

Need to setup the apiKeys and secrets of each enabled exchange in config.json at the following location

Unix: ~/.config/@navxio/coin
Windows: %LOCALAPPDATA%\@navxio\coin
Can be overridden with XDG_CONFIG_HOME

Example Configuration File

{
  "binance": {
    "apiKey": "binance-api-key",
    "secret": "my-binance-secret"
  },
  "bitfinex": {
    "apiKey": "bitfinex-api-key",
    "secret": "my-bitfinex-secret"
  }
}

Usage

$ npm install -g @navxio/coin
$ coin COMMAND
running command...
$ coin (-v|--version|version)
@navxio/coin/0.2.0 linux-x64 node-v11.9.0
$ coin --help [COMMAND]
USAGE
  $ coin COMMAND
...

Commands

coin dash

Display user portfolio in tabular form

USAGE
  $ coin dash

OPTIONS
  -D, --detailed           Detailed portfolio with values across exchanges
  -e, --exchange=exchange  The exchange to fetch the data from

DESCRIPTION
  Display user portfolio in tabular form

See code: src/commands/dash.js

coin exchange

Configure exchanges with Coin

USAGE
  $ coin exchange

OPTIONS
  -a, --available      List supported exchanges
  -e, --enabled        List enabled exchanges
  -r, --remove=remove  Remove an exchange from coin
  -s, --setup=setup    Setup a new exchange

See code: src/commands/exchange.js

coin help [COMMAND]

display help for coin

USAGE
  $ coin help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

coin setup

Run through the setup wizard

USAGE
  $ coin setup

See code: src/commands/setup.js

coin ticker [EXCHANGE] [SYMBOL]

Fetch the 24 hour ticker data

USAGE
  $ coin ticker [EXCHANGE] [SYMBOL]

See code: src/commands/ticker.js

coin update [CHANNEL]

update the coin CLI

USAGE
  $ coin update [CHANNEL]

See code: @oclif/plugin-update

Supported Exchanges

src/lib/supported-exchanges.js

Planned Features

  • [ ] Price Graphs
  • [ ] Place Orders
  • [ ] Coin Preferences

License

GPL v3.0