include-directories

0.1.0 • Public • Published

Search directories for filename and return absolute path

const resolver = require("include-directories")({
    paths: [
        "/files/not/here",
        "/or/here",
        "/its/here",
    ]
});
 
console.log(resolver("found.txt"));
// /its/here/found.txt
 

Usage

TODO - check test.js

Readme

Keywords

none

Package Sidebar

Install

npm i include-directories

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • errorstream