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

talquen

v1.1.3

Published

A Playwright client for accessing a pool of available Camoufox Browser instances deployed as a Podman/Docker container, can be used locally or remotely.

Readme

talquen

A Playwright client for accessing a pool of available Camoufox Browser instances deployed as a Podman/Docker container, can be used locally or remotely.

Introducing the hybrid scraper:

This project has a submodule hybrid: a simple http client for requesting the source or DOM of a URL using an instance of talquen, for times when a pure http/s client like toltha isn't enough and you need a real stealth browser instance, but you only need to load pages by their URLs and scrape them, for those cases where no interaction is necessary. Examples of this might be: needing to get past a captcha or cloudflare turnstile that a browser bypasses automatically, need to scrape a page that renders immediately but only if its javascript is executed, etc... you get the idea. Setting up an interchangeable talquen/toltha fetch of data, with common logic to parse from the returned source or access the data from the DOM (uses cheerio) is a simple and elegant solution for multiple sites needing basic scraping, with custom talquen modules containing Playwright logic for interacting with the sites that require it.

Deploying the container:

  • You need podman or docker running on your local system or remote server to deploy the container to either of these locations.
  • To deploy the container checkout this project (locally or on your remote server).
  • npm run deploy

Basic example:

import talquen from 'talquen'
const browser = await talquen.wait();
const page = await browser.newPage();

The difference between talquen's 2 methods:

  • launch ({ server, proxy, cookies, fingerprint }) launch a browser instance, returns a Promise. If there is a slot available the browser is initialized and the Promise resolves when it's ready, otherwise it rejects immediately.
  • wait ({ server, proxy, cookies, fingerprint }) also launches a browser instance and returns a Promise. If the slot isn't available it waits until the next slot becomes available and resolves when the browser is ready.

method parameters

  • server: the location of the backend container (default is localhost)
  • proxy: the proxy to use for the browser context. http/s or socks4/5, example: socks5://with:auth@server:port
  • cookies: cookies for this browser context.
  • fingerprint: if you want to customize the fingerprint for your instance.

Fingerprinting

This class configures the fingerprinting options of the browser instance you want to create as supported by the stealth browser (currently Camoufox).

import { wait, Fingerprint } from 'talquen'
const fingerprint = new Fingerprint();
fingerprint.os("windows");
fingerprint.window(1440);

const browser = await talquen.wait({ fingerprint });
  • os: select the platform: windows, macos, linux (defaults to selecting a random one each time).
  • window: explicitly set the window dimensions: string pattern [WWWW]x[hhh] or numeric width.
    • Passes values such as "1024x768" along blindly.
    • These are special width values: 3840, 1920, 1680, 1600, 1440, 1280, 1024, 800 the common resolution is set.
    • If the width is arbitrary it will calculate the height using a 16:9 aspect ratio.
  • locale: If you need a specific Locale, usually picks a default relative to the geolocation of the server / proxy IP address, timezone does this automatically as well.
  • enableCache: Whether to cache previous pages, requests, etc. Disabled by default as it uses more memory.
  • enableMainWorldEval: By default, all JavaScript execution is ran in an isolated scope, invisible to the page. This makes it impossible for the page to detect JavaScript reading the DOM: However, your JavaScript will not be able to modify the DOM: This method lets you modify the DOM, by running JavaScript in the main world—the non-isolated scope. Some sites may be able to detect your running scripts or DOM changes.
  • enablePersistentContext: Whether to create a persistent context.
  • humanize: Humanize the cursor movement. Takes either True, or the MAX duration in seconds of the cursor movement. The cursor typically takes up to 1.5 seconds to move across the window.
  • webgl: Use a specific WebGL vendor/renderer pair. The vendor & renderer combination must be supported for the target os or this will cause leaks.
  • disableCoop: Disables the Cross-Origin-Opener-Policy (COOP). This allows elements in cross-origin iframes, such as the Turnstile checkbox, to be clicked.
  • blockImages: Blocks all requests to images. This can help save your proxy usage.
  • blockWebRTC: Blocks WebRTC entirely.
  • blockWebGL: Whether to block WebGL. To prevent leaks, only use this for special cases.

Like toltha (a thin undici wrapper) this library is named using Tolkien's elven language: talquen means "foot-soldier"