https://github.com/msiebuhr/node-textspark
ASCII sparklines for Node
https://github.com/msiebuhr/node-textspark
Last synced: 3 months ago
JSON representation
ASCII sparklines for Node
- Host: GitHub
- URL: https://github.com/msiebuhr/node-textspark
- Owner: msiebuhr
- License: bsd-3-clause
- Created: 2011-11-16T09:15:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-28T10:23:24.000Z (over 12 years ago)
- Last Synced: 2025-02-02T01:31:56.674Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Textspark
=========Node.js/JavaScript implementation of [@holman](https://github.com/holman)'s
[spark](https://github.com/holman/spark).Install
-------From repository:
git clone git://github.com/msiebuhr/node-textspark.git
cd node-textspark
npm link
cd ../your-other-project
npm link textsparkFrom 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](https://github.com/msiebuhr/node-textspark/blob/master/LICENSE).