Skip to content

Instantly share code, notes, and snippets.

@tobie
Forked from dandean/modulr-node-test.js
Created December 13, 2011 08:33
Show Gist options
  • Save tobie/1471227 to your computer and use it in GitHub Desktop.
Save tobie/1471227 to your computer and use it in GitHub Desktop.
modulr-node search paths
require('modulr').buildFromPackage(__dirname, function(e, result) {
if (e) {
throw e;
}
console.log(result);
});
{
"main": "./client",
"modulr": [".", "./node_modules"],
"directories": {
"lib": "."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment