0.0.4 • Published 9 years ago

@nathanfaucett/resolve v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

resolve

resolve node type file paths

var resolve = require("@nathanfaucett/resolve");


var module = resolve("path/to/module");

module === {
    fullPath: "full/path/to/module",
    pkgFullPath: "full/path/to/package.json",
    pkg: {} // parsed json package if has one
};