From 0224f237a38a4aeb7f7102c64e050be530c78008 Mon Sep 17 00:00:00 2001
From: Kyle Farris
boolean
| false
| If true, check to see if socket is avaliable |
| [options.clamdscan.tls] | boolean
| false
| If true, connect to a TLS-Termination proxy in front of ClamAV |
| [options.preference] | object
| 'clamdscan'
| If preferred binary is found and active, it will be used by default |
-| [cb] | function
| | Callback method. Prototype: `(err, function
|
| Callback method. Prototype: `(err, Promise.<object>
- A reset instance of NodeClam
**Access**: public
-| Param | Type | Description |
-| --- | --- | --- |
-| [options] | object
| Same options as the `init` method |
-| [cb] | function
| What to do after reset (repsponds with reset instance of NodeClam) |
+| Param | Type | Default | Description |
+| --- | --- | --- | --- |
+| [options] | object
| {}
| Same options as the `init` method |
+| [cb] | function
|
| What to do after reset (repsponds with reset instance of NodeClam) |
@@ -179,10 +180,10 @@ be the most common use-case for this module.
**Returns**: Promise.<object>
- Object like: `{ file: String, isInfected: Boolean, viruses: Array }`
**Access**: public
-| Param | Type | Description |
-| --- | --- | --- |
-| file | string
| Path to the file to check |
-| [cb] | function
| What to do after the scan |
+| Param | Type | Default | Description |
+| --- | --- | --- | --- |
+| file | string
| | Path to the file to check |
+| [cb] | function
|
| What to do after the scan |
**Example**
```js