Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b80e042cbd | |||
bf12f0d750 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@apiclient.xyz/abuse.ch",
|
"name": "@apiclient.xyz/abuse.ch",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "an unofficial client to retrieve abuse.ch data",
|
"description": "an unofficial client to retrieve abuse.ch data",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -4,13 +4,13 @@ import * as abuseCh from '../ts/index.js';
|
|||||||
tap.test('should deal with UrlHouse data', async () => {
|
tap.test('should deal with UrlHouse data', async () => {
|
||||||
const urlHouse = new abuseCh.UrlHouse();
|
const urlHouse = new abuseCh.UrlHouse();
|
||||||
const data = await urlHouse.getData();
|
const data = await urlHouse.getData();
|
||||||
console.log(data);
|
console.log(data.length);
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.test('should deal with UrlHouse data', async () => {
|
tap.test('should deal with UrlHouse data', async () => {
|
||||||
const threatFox = new abuseCh.ThreatFox();
|
const threatFox = new abuseCh.ThreatFox();
|
||||||
const data = await threatFox.getData();
|
const data = await threatFox.getData();
|
||||||
console.log(data);
|
console.log(data.length);
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.start();
|
tap.start();
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@apiclient.xyz/abuse.ch',
|
name: '@apiclient.xyz/abuse.ch',
|
||||||
version: '1.0.3',
|
version: '1.0.4',
|
||||||
description: 'an unofficial client to retrieve abuse.ch data'
|
description: 'an unofficial client to retrieve abuse.ch data'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user