Permalink
Browse files

travisifying and readme

  • Loading branch information...
1 parent eb23f6c commit 4a35e27e53990aab74c8fc74345ddaed8320555b @thlorenz committed Jan 11, 2013
Showing with 27 additions and 1 deletion.
  1. +4 −0 .travis.yml
  2. +23 −1 README.md
View
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+ - 0.6
+ - 0.8
View
@@ -1,3 +1,25 @@
-# ansicolors
+# ansicolors [![build status](https://secure.travis-ci.org/thlorenz/ansicolors.png)](http://next.travis-ci.org/thlorenz/ansicolors)
Functions that surround a string with ansicolor codes.
+
+## Installation
+
+ npm install ansicolors
+
+## Usage
+
+```js
+var colors = require('ansicolors');
+
+var redHerring = colors.red('herring');
+var blueMoon = colors.blue('moon');
+var brighBlueMoon = colors.brightBlue('moon');
+
+console.log(redHerring); // this will print in red
+console.log(blueMoon); // this in blue
+console.log(brightBlueMoon); // I think you got the idea
+```
+
+## Tests
+
+Look at the [tests] to see more examples and/or run them via: `npm explore ansicolors && npm test`

0 comments on commit 4a35e27

Please sign in to comment.