Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mootools

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mootools

MooTools 1.4.4 Server library

  • 1.4.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
950
increased by15.85%
Maintainers
1
Weekly downloads
 
Created
Source

MooTools 1.4.4 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 npm (http://npmjs.org)
  • 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)

Keywords

FAQs

Package last updated on 23 Feb 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc