node package manager


ASCII sparklines in coffeescript. Based on 'spark' for shell.


Current version: 0.0.6

A coffeescript, npm-ready version of the spark shell script. See spark documentation for details how to use.

Check out the:


  • Install node
  • npm install clark -g
  • clark 1 2 3 or clark 1,2,3

Clark ships with exports for CommonJS, AMD, and browser globals.

Command-line Usage

clark 1 2 3 4 5

output: ▁▂▄▆█

echo 1 2 3 4 5 | xargs clark

output: ▁▂▄▆█

clark 1,2,3,4,5

output: ▁▂▄▆█

Node Usage

var clark = require('clark');

Browser Usage

<script src="src/clark.js"></script>

Check out the spark page for some neat things to do.

Also available as a hubot script.

v0.0.6 breaking: change export to return a function instead of and object