node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org ยป


Prototype in Node.js

Implementing Prototypejs in Node.js
My main goal has been to implement the Ruby-like features in JS.


npm install prototype


var prototype = require('prototype');  
Object.extend(global, prototype);  
//Now you can do all the awesome things like:  
  console.log("Loop Advanced: "+x);  

To Do:

  • Map require('http') to the api of Ajax