Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanwashere/clamav
ClamAV client for deno
https://github.com/evanwashere/clamav
clamav clamd deno
Last synced: 24 days ago
JSON representation
ClamAV client for deno
- Host: GitHub
- URL: https://github.com/evanwashere/clamav
- Owner: evanwashere
- Created: 2020-10-22T15:20:37.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-21T13:19:35.000Z (almost 4 years ago)
- Last Synced: 2024-11-22T00:32:07.728Z (about 1 month ago)
- Topics: clamav, clamd, deno
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
implements all non-deprecated commands in clamd
```js
const clamav = new ClamAV({ port: 3310, host: '127.0.0.1' });
const eicar = await fetch('https://secure.eicar.org/eicar.com.txt');console.log(await clamav.version());
console.log(await clamav.scan(eicar.body));
console.log(await clamav.scan(new Uint8Array([...])));
console.log(await clamav.scan(await Deno.open('file.txt')));
```