1.2.1 • Published 4 years ago

@torch-ai/spiderfoot v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Spiderfoot

This package provides a standardized layer for accessing open source Spiderfoot services along with data types. Spiderfoot web interface version: Opensource v3.1-DEV

Usage

Installation

Install the service in your own project

npm install @torch-ai/spiderfoot

Initialization

At the top of your application, or in an imported configuration file:

// Import the service definition and environment constants
import Service, { IServiceOptions }  from "@torch-ai/spiderfoot";

// Create an instance of the service
const options: IServiceOptions = {};
export default new Service(options);

Calls

import service from "./spiderfoot";

try {
  const capabilities = await service);
} catch (error) {}

There is a limitation of 10 API request per second per SimilarWeb account; if 2 API keys belong to the same account, this limitation applies to both keys.

License and agreements

This package is provided through an MIT license. Usage of this package is freely available without restriction.

Installation

Clone the package from the repository.

npm install

Testing

A local file .env file will need to be created with credentials for the api:

API_KEY=****

You may run tests in a continuous watch mode:

npm run-script test:watch

Publishing

Open an issue requesting a version to publish.

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago