Package detail

findfile-in-folder-by-pathname

yamigr4MIT1.0.0

Find a file in a folder by the pathname.

pusudb, fs

readme

findfile-in-folder-by-pathname

Find a file in a folder by the pathname.

Installing

npm install findfile-in-folder-by-pathname --save

Use

var findfile = require('findfile-in-folder-by-pathname')

findfile.byPathname(__dirname, '/some/path/to/mfile', { normalize : true , index : 'index.html' } function(err, pathname, data){
    if(data){
        //handle the data
    }


})

Authors

License

This project is licensed under the MIT License