Forums > Javascript

CommonJS

April 22, 2012 | 8:37 pm

Hello

After spending some time investigating Plask (plask.org), I noticed that the project says it implements some of CommonJS (commonjs.org). Of particular interest is the ability to write the following:
var mylib = require('mylib');
I’m sure however that many other ideas in CommonJS would also be applicable to Max, so was wondering whether it would be possible to request some kind of support for this spec at some point (I would presume it would have to come in a major release as opposed to a point release). This would be great to make some of the js skills used in Max transferable to other projects (e.g. node.js).

Interested to hear what people think :)

DiGiTaLFX


November 4, 2012 | 6:57 pm

Wouldn’t it be possible to put Commonjs-compliant implementations into the jsextensions folder?


Viewing 2 posts - 1 through 2 (of 2 total)