[ 原始碼: node-umd ]
套件:node-umd(3.0.3+ds-3)
Universal Module Definition for use in automated build systems
UMD (Universal Module Definition) is a common pattern used in javascript programming allowing one to write once a loader working in different context (server, browser). This loader is compatible with different API like RequireJS, AMD or CommonJs.
This module provides:
- simple synchronous wrapping of a string - return style module support - CommonJS support - support preventing internal UMDs from conflicting
Node.js is an event-based server-side JavaScript engine.