prototype

0.0.5 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i prototype

      Weekly Downloads

      160

      Version

      0.0.5

      License

      none

      Last publish

      Collaborators

      • rixius