Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

It's like Spark, but in Coffeescript.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 docs
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npminclude
Octocat-spinner-32 Cakefile
Octocat-spinner-32 Gruntfile.js
Octocat-spinner-32 README.markdown
Octocat-spinner-32 package.json
Octocat-spinner-32 paige.config
README.markdown

Clark

Current version: 0.0.6

A coffeescript, npm-ready version of the spark shell script. See spark documentation for details how to use.

Check out the:

Clark

Installation

Command-line:

  • Install node
  • npm install clark -g
  • clark 1 2 3 or clark 1,2,3

Clark ships with exports for CommonJS, AMD, and browser globals.

Usage

Command-line Usage

clark 1 2 3 4 5

output: ▁▂▄▆█

echo 1 2 3 4 5 | xargs clark

output: ▁▂▄▆█

clark 1,2,3,4,5

output: ▁▂▄▆█

Node Usage

var clark = require('clark');
console.log(clark([1,2,3]));

Browser Usage

<script src="src/clark.js"></script>
<script>
  console.log(clark([1,2,3]));
</script>

Check out the spark page for some neat things to do.

Also available as a hubot script.

Changelog

v0.0.6 breaking: change export to return a function instead of and object

Something went wrong with that request. Please try again.