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

webscore-sdk

v0.1.2

Published

JavaScript client for the WebScore API — GEO AI visibility scanning, AEO, SEO, Health, and Accessibility audits

Downloads

435

Readme

webscore-sdk

The npm package for measuring your brand's AI Search presence — GEO visibility across Gemini, ChatGPT, Perplexity, and Claude, plus AI technical readiness auditing.

Install

npm install webscore-sdk

Quickstart

import { WebScore } from 'webscore-sdk'

const client = new WebScore('waa_your_key_here')

// GEO — AI Share of Voice scan
const result = await client.geo('https://your-site.com')
console.log(result.geo.mentionRate)   // e.g. 0.67
console.log(result.geo.citationRate)  // e.g. 0.33
console.log(result.geo.sentiment)     // "positive" | "neutral" | "negative"

Get an API key

Generate a free key at www.webscore.dev/dashboard.html — no sign-up, no credit card.

Free tier: 3 GEO scans / day.

Methods

client.geo(url)GeoResult

Live AI visibility scan. Queries Gemini, ChatGPT, Perplexity, and Claude with brand-specific questions. Returns mention rate, citation rate, sentiment, funnel breakdown, and which questions your brand missed.

const { geo, missedQuestions } = await client.geo('https://your-site.com')
console.log(`Mention rate: ${Math.round(geo.mentionRate * 100)}%`)
console.log('Missed questions:', missedQuestions)

client.compare(url1, url2)CompareResult

Head-to-head GEO comparison between two URLs. Returns winner, per-engine breakdown, and a summary.

const { winner, site1, site2 } = await client.compare(
  'https://your-site.com',
  'https://competitor.com'
)
console.log(`Winner: ${winner}`)

client.aeo(url)AeoResult

AI technical readiness audit — llms.txt, AI crawler access, structured data, E-E-A-T signals.

const { score, issues } = await client.aeo('https://your-site.com')

TypeScript

Types are included — no @types/ package needed.

import { WebScore, GeoResult } from 'webscore-sdk'

const client = new WebScore('waa_your_key')
const result: GeoResult = await client.geo('https://your-site.com')

Timeout

GEO scans query live AI engines and can take up to 60 seconds. The default timeout is 90 seconds. Pass a custom base URL for local testing:

const client = new WebScore('waa_your_key', {
  baseUrl: 'http://localhost:3000'
})

License

MIT