CommonJS

Apr 22, 2012 at 8:37pm

CommonJS

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

#63147
Nov 4, 2012 at 6:57pm

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

#227866

You must be logged in to reply to this topic.