npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

incogniton

v1.0.17

Published

TypeScript-supported JS client library for the Incogniton API, featuring browser automation capabilities

Readme

Incogniton Typescript SDK

The official JavaScript / TypeScript SDK for interacting with the Incogniton Antidetect Browser API and browser automation capabilities, including Playwright, Puppeteer, and Selenium. Visit our official website to learn more about Incogniton.

Overview

The Incogniton Browser Client provides two main components:

  1. API Client: A robust interface for interacting with Incogniton's REST API, allowing you to manage browser profiles, cookies, and automation tasks programmatically.

  2. Browser Automation: A powerful browser automation module that integrates with Puppeteer, enabling you to launch and control Incogniton browser instances with custom profiles.

Features

The Incogniton package contains two modules:

API Client

  • Profile Management: Create, update, and manage browser profiles
  • Cookie Management: Add, update, and manage cookies for profiles
  • Automation Control: Launch and control browser instances
  • Comprehensive TypeScript support with full type definitions

Browser Automation

  • Seamless integration with Puppeteer
  • Profile-based browser launching
  • Headless mode support
  • Custom browser arguments support
  • Robust error handling and logging

Installation

npm install incogniton
# or
yarn add incogniton

Usage

Before using the Incogniton API Client or Browser Automation, ensure that the Incogniton desktop app is running (open) locally. The client relies on the Incogniton app to manage profiles and perform browser automation tasks.

API Client

import { IncognitonClient } from 'incogniton';

const client = new IncognitonClient();

// Create a new browser profile
const profile = await client.profile.add({
  profileData: {
    name: 'MY PROFILE',
    // ...
  },
});

// Get all profiles
const profiles = await client.profile.list();

// Get a specific profile
const profileDetails = await client.profile.get('PROFILE_ID');

Browser Automation

import { IncognitonBrowser } from 'incogniton';

const browser = new IncognitonBrowser({
  profileId: 'your-profile-id',
  headless: false,
});

// --- Puppeteer Example ---
// Launch a browser instance with Puppeteer
const puppeteerInstance = await browser.startPuppeteer();
const puppeteerPage = await puppeteerInstance.newPage();
await puppeteerPage.goto('https://example.com', { waitUntil: 'networkidle0' });
const puppeteerScreenshotBuffer = await puppeteerPage.screenshot({ path: 'example-screenshot.png' });

await browser.close(puppeteerInstance);

// --- Playwright Example ---
// Launch a browser instance with Playwright
const playwrightInstance = await browser.startPlaywright();
const playwrightPage = await playwrightInstance.newPage();
await playwrightPage.goto('https://example.com', { waitUntil: 'load' });
const playwrightScreenshotBuffer = await playwrightPage.screenshot({ path: 'example-screenshot.png' });
await browser.close(playwrightInstance);

Configuration

API Client Configuration

  • port: Port number for the Incogniton instance (default: 35000)
  • baseUrl: Base URL for API requests (default: http://localhost:${port})

Browser Configuration

  • profileId: The ID of the profile to use
  • headless: Whether to launch in headless mode (default: false)
  • customArgs: Custom command-line arguments for the browser
  • launchTimeout: Time to wait for browser launch in milliseconds (default: 60000)

Development

Prerequisites

  • Node.js (v14 or higher)
  • TypeScript (v4 or higher)
  • Incogniton desktop application running locally

Setup

  1. Clone the repository
  2. Install dependencies:
    npm install
    # or
    yarn install

Building

npm run build
# or
yarn build

Testing

npm test
# or
yarn test

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

For help or technical support, please reach out to [email protected] or visit Incogniton support.