I need some date formatting and calculation and found a good script: momentjs.
Does somebody know how to implement this this module as CommonJS module?
I can't get it to work.
it is already setup to work as a commonJS module, see
https://raw.github.com/timrwood/moment/1.7.0/moment.js scroll to bottom of code
Oscar, could you post or gist a code sample of what you're trying?
Also, see this link for a tutorial on using a similar library.