npm.io
0.0.1 • Published 11 years agoCLI

speedcurve-api

Licence
Version
0.0.1
Deps
2
Vulns
0
Weekly
0
Stars
1
DeprecatedThis package is deprecated

SpeedCurve API Wrapper for NodeJS

SpeedCurve API Wrapper is a NPM package that wraps SpeedCurve API for NodeJS as a module and a command-line tool.

Getting started

$ npm install speedcurve -g

Basics

Command line
$ speedcurve deploy --note="I'm a note" --detail="I'm a longer note with way more detail."
Module
var SpeedCurve = require('speedcurve');
var spd = new SpeedCurve('<your-api-key>', [dry-run]);

spd.deploy({
	  note: 'I am a note',
	  detail: 'I am a longer note with way more detail.'
	}, function(err, data) {
	  console.log(err || data);
	});

Keywords