Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hubot-bitcoin with all npm packages installed. Try it out:

var hubotBitcoin = require("hubot-bitcoin")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hubot-bitcoin v1.0.3

A Hubot script to recent Bitcoin prices.

hubot-bitcoin NPM version

A Hubot plugin to tell you the current price of Bitcoin.

Usage

hubot bitcoin                            returns price in usd
hubot bitcoin list                       returns list of available currencies
hubot bitcoin [price] [in] eur           returns price in eur

Installation

  1. cd into your hubot dir, run npm install --save hubot-bitcoin (adds it as a dependency in package.json).
  2. Add "hubot-bitcoin" to your external-scripts.json file.
  3. Restart Hubot.

Or just drop bitcoin.coffee into your hubot's scripts/ directory.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free