Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A hookable AMD module resolution implementation.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.npmignore
.travis.yml
LICENSE
Makefile
README.md
package.json

README.md

amd-resolve

Implements the AMD module resolution algorithm, and supports common config.

The purpose of this module is to assist AMD tooling, including optimizers and compilers, that need to perform module resolution during a build step or as part of an application server.

This is analogous to James Halliday's resolve, which implements Node's algorithm.

Install

$ npm install amd-resolve

Usage

Synchronously lookup the location of module bar, using options defined by common config.

resolve.sync('bar', { baseUrl: 'webapp/lib' })

Tests

$ npm install
$ make test

Build Status

Credits

License

The MIT License

Copyright (c) 2012-2013 Jared Hanson <http://jaredhanson.net/>

Something went wrong with that request. Please try again.