amd-resolve
A hookable AMD module resolution implementation.
Last updated 12 years ago by jaredhanson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install amd-resolve 
SYNC missed versions from official npm registry.

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/>

Current Tags

  • 0.1.1                                ...           latest (12 years ago)

2 Versions

  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE