mscan
v1.0.11
Published
mscan is super light weight file scanner module for get specific file informations
Downloads
3
Readme
mscan v1.0.0
Super light weight file scanner module for get specific file informations
Q. License?
A. Free to use. Thanks.
How to use?
- include module into your project
const mscan = require('mscan');
- specify directory where you want to search.
mscan.scan(PATH_FOR_SEARCH) .then((results) => { ... }) .catch((err) => { ... })
- Returning value is Object that has key as file name and detail informations in property like this:
{ 'exam.js': { stats: { ... }, mime: 'application/javascript', isDirectory: false }, 'index.js': { ... }, 'node_modules': { stats: { ... }, mime: 'application/octet-stream', isDirectory: true } }
Please don't hesitate to ask some issues on github issues page. Or you can send me a mail: [email protected]