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

@ryntab/wappalyzer-node

v3.0.0

Published

A node.js wrapper for Wappalyzer

Readme

@ryntab/wappalyzer-node

Technology detection built on the Wappalyzer fingerprint database. Pass in a Playwright/Puppeteer page you already have open, or raw HTML — the module never launches or manages a browser itself.

Installation

npm i @ryntab/wappalyzer-node

API

scanPage(page, url?)

Analyze an existing Playwright or Puppeteer page. Navigation and browser lifecycle are entirely the caller's responsibility — the module reads from the page as-is.

import { Wappalyzer } from '@ryntab/wappalyzer-node'

const wappalyzer = new Wappalyzer()

// -- Playwright example --
import { chromium } from 'playwright'

const browser = await chromium.launch()
const page = await browser.newPage()
await page.goto('https://example.com')

const { technologies } = await wappalyzer.scanPage(page)
console.log(technologies.map(t => t.name))

await browser.close()
// -- Puppeteer example --
import puppeteer from 'puppeteer'

const browser = await puppeteer.launch()
const page = await browser.newPage()
await page.goto('https://example.com')

const { technologies } = await wappalyzer.scanPage(page)
console.log(technologies.map(t => t.name))

await browser.close()

An optional url string can be passed as the second argument to override the URL used for resolving relative links (useful when the page has already navigated or you want a canonical base):

const { technologies } = await wappalyzer.scanPage(page, 'https://example.com')

scanHTML(html, opts?)

Analyze a raw HTML string — no browser required at all. External CSS and JS files referenced in the markup are fetched and fingerprinted automatically.

import { Wappalyzer } from '@ryntab/wappalyzer-node'

const wappalyzer = new Wappalyzer()

const html = await fetch('https://example.com').then(r => r.text())

const { technologies } = await wappalyzer.scanHTML(html, {
  url: 'https://example.com',   // base URL for resolving relative assets
  headers: {},                  // optional response headers to include in detection
  cookies: [],                  // optional cookies array
})

console.log(technologies.map(t => t.name))

| Option | Type | Default | Description | |---|---|---|---| | url | string | "about:blank" | Base URL for resolving relative script/CSS URLs | | headers | object | {} | HTTP response headers | | cookies | array | [] | Cookie objects |


Response shape

Both methods return the same structure:

{
  technologies: [
    {
      name: 'WordPress',
      slug: 'wordpress',
      description: '...',
      confidence: 100,
      version: '6.4',
      categories: [ { id: 1, name: 'CMS', slug: 'cms' } ],
      icon: 'WordPress.svg',
      website: 'https://wordpress.org',
      pricing: [],
      cpe: 'cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*',
    },
    // ...
  ],
  performance: {
    fetchDuration: 1200,  // ms
    helperDuration: 340,  // ms from CMS-specific deep scans (WordPress, Shopify, Magento)
    errors: [],
  }
}

Helpers

Deep-scan helpers run automatically for WordPress, Shopify, and Magento when detected. They enrich the matched technology entry with a helper object containing CMS-specific metadata (plugins, theme, version info, etc.).


Using with an existing browser pool (e.g. lighthouse-api)

Because the module never touches the browser, it integrates cleanly into any existing automation pipeline. Just open a page, pass it in, close it yourself:

// Inside an audit worker that already has a Puppeteer browser
const page = await browser.newPage()
await page.goto(url, { waitUntil: 'domcontentloaded' })

const { technologies } = await wappalyzer.scanPage(page)

await page.close()