amder
v0.1.2
Published
Simply AMD loader for Node
Downloads
6
Readme
amder
Simply AMD loader for Node
Installation
$ npm install amder
Usage
require('amder');
// Load AMD module
var x = require('amd-module');
// Do whatever you want
....
API
config(options)
加载器配置,目前只支持baseUrl
与packages
的配置
- options
{Object}
配置项- baseUrl
{string=}
模块的基地址 - packages
{Object=}
第三方包信息
- baseUrl