@nathanfaucett/resolve

0.0.4 • Public • Published

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
};

/@nathanfaucett/resolve/

    Package Sidebar

    Install

    npm i @nathanfaucett/resolve

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • nathanfaucett