millipede
v2.1.0
Published
Print a beautiful millipede
Downloads
8
Readme
millipede-node
Print a beautiful millipede
Installation
First, install node.js.
You want a cool millipede command-line tool to impress your friends?
Install it globally! Run
npm install -g millipede
Then show off as much as you can!
millipede --size 42 --reverse --animate
See the usage for more amazing features:
Usage: millipede [options]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --size <value> size of the millipede
-p, --position <value> move the millipede forward, make it move!
-r, --reverse reverse the millipede
-t, --top <value> add <value> lines of top padding
-l, --left <value> add <value> lines of left padding
-a, --animate animate the millipede
-c, --center center the millipede on the screen
-S, --full-size use a full size millipede!
You want to integrate a cool millipede in your application or website?
Add it to the dependencies of your project!
npm install millipede --save
Then use it everywhere!
var millipede = require('millipede');
var express = require('express');
module.exports = express()
.get('/', function (req, res) {
res.setHeader('Content-Type', 'text/plain');
res.send(millipede(42).toString());
})
.listen(4242);
Support
- Stack Overflow
- #getmillipede on Freenode
Development
Install the development dependencies:
npm install -g grunt-cli
npm install
Testing
We want 100% test coverage on this project, everything has to be tested.
Run the tests using
grunt test