Skip to content
ASCII sparklines for Node
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
test
.gitignore
LICENSE
README.md
package.json
spark.js

README.md

Textspark

Node.js/JavaScript implementation of @holman's spark.

Install

From repository:

git clone git://github.com/msiebuhr/node-textspark.git
cd node-textspark
npm link
cd ../your-other-project
npm link textspark

From NPM:

npm install textspark

Usage

#!/usr/bin/env node
var spark = require('textspark');
console.log(spark([1,2,3,4,5,6,7,3]))

Prints:

▁▂▃▄▅▆▇▃

License

Three-clause BSD; see LICENSE.

Something went wrong with that request. Please try again.