Skip to content

philipmat/node-textspark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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]))

Returns:

▁▂▂▃▅▆▆▂

TODO

  • CLI binary, so it behaves like the original spark-tool.
  • Tests

License

Three-clause BSD; see LICENSE.

About

ASCII sparklines for Node

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%