mootools

1.5.2 • Public • Published

MooTools 1.5.2 Server

For more information about mootools in general I suggest you visit http://mootools.net In short it is a library for web development, with support for OOP.

Mootools Server is a stripped down version that gives you all the nice things from the mootools library, sans the browser-specific stuff

Installation

  • Get Node
  • run npm install mootools
  • Done

Usage

Calling require('mootools') will import it into the global scope, and you'll be able to do things like

var Application = new Class(
{
    Implements: [process.EventEmitter],
    initialize: function()
    {
        //initialize here
    },
    compute: function()
    {
        //some code
        this.emit("done");
    }
});

var app = new Application();
app.on("done", function() { /* Callback */ });
app.compute();

You can also use other things that mootools provides, like Options and Events (mootools events might not be as efficient as the native EventEmitter stuff)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.5.2
    1,691
    • latest

Version History

Package Sidebar

Install

npm i mootools

Weekly Downloads

1,718

Version

1.5.2

License

none

Last publish

Collaborators

  • vsviridov
  • kamicane
  • kentaromiura
  • arian
  • ibolmo