Home > DeveloperSection > Forums > How to use mootools in nodejs?
Kamlakar Singh
Kamlakar Singh

Total Post:28

Points:196
Posted on    May-26-2015 7:37 AM

 Node.JS Node JS 
Ratings:


 1 Reply(s)
 643  View(s)
Rate this:

I’m want to use mootools on the serverside with nodejs?



Barbara Jones

Total Post:13

Points:91
Posted on    May-26-2015 7:55 AM

The correct way now is via the npm, which is actually upto date.

npm install mootools –save

using it:

require("mootools");

// globals exported and types shimmed

var foo = new Class({}); // etc

things not exported: Element protos, Fx, Slick (and parser), Request (XHR), Swiff etc - if it touches the DOM, it won't be there.


Don't want to miss updates? Please click the below button!

Follow MindStick