UNPKG

cornify

Version:

A super magical unicorn module

33 lines (20 loc) 970 B
cornify ======== cornify is a super magical unicorn module for NodeJS based off the cornify.com. Don't let you server-side JavaScript be left without your trusty one-horned sidekick, add a few corns in today! Installing cornify ------------------- First, make sure you have Node installed. You can find instructions for installing it at <http://nodejs.org/#download> With Node installed, you can install the cornify module 2 ways: 1) You can clone the github repository $ git clone http://github.com/drgath/cornify.git 2) The easier method is to use [NPM](http://github.com/isaacs/npm), node's package manager. Once you have NPM installed, simply run: $ npm install cornify Use within Node --------------- A basic example ![](http://s89997654.onlinehome.us/screencaps/example.js-20100902-003742.jpg) ![](http://s89997654.onlinehome.us/screencaps/Default-20100902-002804.jpg) cornify.addCorn() ---------- *cornify.js* exports a single method, *addCorn*.