Socket
Socket
Sign inDemoInstall

amd-resolve

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    amd-resolve

A hookable AMD module resolution implementation.


Version published
Weekly downloads
204
decreased by-25.82%
Maintainers
1
Install size
9.30 kB
Created
Weekly downloads
 

Readme

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

License

The MIT License

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

Keywords

FAQs

Last updated on 05 Jan 2013

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc