1.0.3 • Published 12 months ago

nitrous.ts v1.0.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
12 months ago

NITROUS OSINT Library

The official NITROUS OSINT API wrapper written in TypeScript using Axios. This library provides an interface for interacting with open-source intelligence modules via the Nitrous OSINT API.

Installation

npm install nitrous.ts

Example Usage

import NITROUS from "nitrous.ts";

const nitrous = new NITROUS({ env: 'production' });

async function main(): Promise<void> {
  const modules = await nitrous.getModules();
  console.log(modules);
}

main();

Interfaces

Interfaces are located in lib/sdk/interface/ and aliased as @interface.

API Options

interface Options {
  env ? : string;  // API environment: 'production' (default) or 'sandbox'
}

Enums

Enums are located in lib/sdk/enum/ and aliased as @enum.

API Environments

enum Environment {
  production = 'osint.nitrous-oxi.de',
  sandbox    = 'sandbox.nitrous-oxi.de',
}

Methods

  • Get all modules:
    Fetch all available OSINT modules across all categories.

    await getModules(): Promise<any>;
  • Query a specific module:
    Query a specific module within a category using a query (e.g., a username, email, IP, etc.).

    await queryModule(category: string, module: string, query: string): Promise<any>;
  • Query all modules in a category:
    Query all modules within a specific category with a given query.

    await getModulesByCategory(category: string, query: string): Promise<any>;
  • Fetch available categories:
    Fetch all unique categories from the API.

    await fetchCategories(): Promise<string[]>;
1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

1.0.3

12 months ago

0.0.1

1 year ago