Initial Commit

This commit is contained in:
2018-05-19 02:20:19 +02:00
commit 8621248968
6554 changed files with 1121559 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
var require_optional = require('../../')
function findPackage(packageName) {
var pkg = require_optional(packageName);
return pkg;
}
module.exports.findPackage = findPackage

View File

@@ -0,0 +1,11 @@
{
"name": "nestedtest",
"version": "1.0.0",
"description": "A dummy package that facilitates testing that require_optional correctly walks up the module call stack",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sebastian Hallum Clarke",
"license": "ISC"
}