Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

ASCII sparklines for Node

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
Octocat-spinner-32 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.