noscan
A more flexible SDK for unscan.co
- fully asynchronous
- 100% coverage of the unscan API
- typescript support
COMING SOON
COMING SOON
Installation
Install the Package
Install noscan using your favorite package manager.
npm i noscan
yarn add noscan
Usage
import { isNSFW } from 'noscan'
(async () => {
console.log(await isNSFW(stream))
})()
API
File Scanning
Features
isMalware(file)
isNSFW(image)
-
scanFileFromStream(stream)
COMING SOON
-
scanFileFromLink(url)
COMING SOON
-
scanFileFromLocation(location)
COMING SOON
-
scanFileFromBuffer(buffer)
COMING SOON
ℹ️ noscan will throw an error when something went wrong.
Link Scanning
Features
-
scanLink(url)
COMING SOON
ℹ️ noscan will throw an error when something went wrong.
COMING SOON
CLI Installation
Install the CLI globally using your favorite package manager.
npm i -g @noscan/cli
yarn global add @noscan/cli
Usage
noscan --malware ./file.exe