JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q40664F
  • License MIT

Text sparklines

Package Exports

  • textspark

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (textspark) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.