Node.js/JavaScript implementation of @holman's spark.
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
#!/usr/bin/env node
var spark = require('textspark');
console.log(spark([1,2,3,4,5,6,7,3]))
Returns:
▁▂▂▃▅▆▆▂
- CLI binary, so it behaves like the original
spark
-tool. - Tests
Three-clause BSD; see LICENSE
.