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 🙏

© 2025 – Pkg Stats / Ryan Hefner

cli-trader

v0.0.2

Published

A simple commandline trading tool for BTCe

Readme

cli-trader - a BTCe trading tool

I've been messing around with LTC trading on BTCe, its mildly amusing. Of course I found the interface horrendous, so I put together this simple fast commandline tool for making trades.

You might need it too, if you like it and make your millions consider chucking me a few btc at LgiQkSFU52ZffafUrsywKfnkrhNmCG4jfy.

Installation

npm install -g cli-trader

Usage

cli-trader

This will then give you a prompt to configure, enter your API key and Secret for BTCe and you're good to go. It will print out your balance to confirm its all working.

Buying

The syntax is pretty self explanatory, here's a few examples:

btce > buy ltc @ 33

Buys all the LTC you can afford at the 33 rate.

btce > buy ltc

Buys all the LTC you can afford at current sell rate.

btce > buy 1 ltc @ 33

Buys a single LTC at 33 rate.

btce > buy ltc @ 28 = 100

Buys 100$ worth of LTC at 28 rate.

Getting the picture? All trades have a confirmation to which you must enter yes to confirm.

Selling

btce > sell ltc @ 35

Sells all your LTC at 35.

btce > sell ltc

Sells all the LTC you can afford at current sell rate.

btce > sell 1 ltc @ 33

Sells a single LTC at 33 rate.

btce > sell ltc @ 28 = 100

Sells 100$ worth of LTC at 28 rate.

Other functions...

btce > orders

Lists all your outstanding orders

btce > cancel 30187253

Cancels the given order (no confirmation).

btce > clear

Clears all orders (no confirmation).

btce > status

Returns your current balance of USD, BTC and LTC.

btce > rate ltc

Lists the specified asset trade rates.

Known issues

None as of yet, have not tested it in trading BTC, but I'm using it for LTC right now and BTC should work.

Let me know if you find any problems with it.