Package Exports
- require-anywhere
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (require-anywhere) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
require-anywhere
Require files relative to the position of your package.json
Install
npm install require-anywhere
Usage
var anywhere = require("require-anywhere")(__dirname);
// Requires the file 'utils.js' in '/path/to/your-app/libs/'
// where '/path/to/your-app/' is the directory where your package.json resides
var utils = anywhere("libs/utils");