Have ideas to improve npm?Join in the discussion! »

This package has been deprecated

Author message:

New package coming soon!

antivirusTypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

antivirus

scan files for evil code

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

This package is determined for use in environments that need virus scanning of some sort.

import * as antivirus from 'antivirus'
 
const scanAFile = async (pathToFileArg) => {
  let scanresult = await antivirus.scanFile(pathToFileArg)
  if(scanresult.isClean) {
    // do something if its clean
  } else {
    // do something if its infected
  }
}

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer

Keywords

none

Install

npm i antivirus

DownloadsWeekly Downloads

4

Version

1.0.3

License

none

Unpacked Size

12.3 kB

Total Files

13

Last publish

Collaborators

  • avatar