Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Prototype.js implemented in Node.js
tree: 1a2675ca75
Failed to load latest commit information.
lib Fixed Prototype.K (mostly used by Enumerable.js)
package.json Corrected repository URL
readme.md updates

readme.md

Prototype in Node.js

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

Instalation:

npm install prototype

Usage:

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

To Do:

  • Map require('http') to the api of Ajax
Something went wrong with that request. Please try again.