🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

amd-resolve

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amd-resolve

A hookable AMD module resolution implementation.

0.1.1
latest
Source
npm
Version published
Weekly downloads
232
-27.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Jared Hanson

License

The MIT License

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

Keywords

modules

FAQs

Package last updated on 05 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts