You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mscan

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mscan

mscan is super light weight file scanner module for get specific file informations

1.0.11
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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: rico345100@gmail.com

Keywords

mscan

FAQs

Package last updated on 01 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.