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

webskillet

v0.1.2

Published

Webskillet client SDK and CLI for running browser tasks

Readme

webskillet

TypeScript client SDK and CLI for Webskillet runs.

  • Client SDK: import { WebskilletClient } from "webskillet/client-sdk".
  • CLI: webskillet <command>.

Install

# Use the CLI without installing
npx webskillet <command>

# Or add the package to your project
npm install webskillet

Client SDK

import { WebskilletClient } from "webskillet/client-sdk";

const client = new WebskilletClient({
  apiKey: process.env.WEBSKILLET_API_KEY!,
});

const result = await client.runs.run(
  {
    task: "Extract the title of example.com",
    startUrl: "https://example.com",
    skilletId: "example-title",
  },
  { timeoutMs: 30 * 60_000 }
);

console.log(
  result.status,
  result.status === "completed" ? result.result : undefined
);

Manage the lifecycle directly when you need custom polling:

const { id } = await client.runs.start({ task: "Extract the page title" });
const current = await client.runs.get(id);
const updated = await client.runs.update(id, { title: "Example page title" });
const recent = await client.runs.list({ limit: 20 });

runs.run() polls until the run is completed or canceled. It has no default deadline. Pass timeoutMs to stop waiting after a fixed duration. A completed run with outcome: "failed" throws WebskilletRunFailedError.

The client also exposes the other v1 resources:

const skillets = await client.skillets.list();

const sessions = await client.authSessions.list();
const session = await client.authSessions.get(sessions[0].id);
const recording = await client.authSessions.record({
  name: "GitHub",
  startUrl: "https://github.com/login",
});

Authentication accepts { apiKey }, sent as x-api-key, or an async { getAccessToken } callback, sent as a bearer token.

CLI

webskillet auth login                  # interactive (prompts for a method)
webskillet auth login --browser        # browser flow, no prompt
webskillet auth login --api-key <key>  # save an API key, no prompt
webskillet auth status --json          # exits nonzero when not authenticated
webskillet auth logout

webskillet start "Extract the title" --start-url https://example.com
webskillet start "Extract the title" --skillet-id example-title
webskillet result <run-id>
webskillet run "Extract the title" --wait 5m
webskillet list --limit 20

webskillet install-skill

install-skill installs the webskillet agent skill by running npx skills@latest add Intuned/skills --skill webskillet.

When stdin is not a TTY (agents, CI), auth login skips the prompt and starts the browser flow automatically.

Add --json to return machine-readable output. run waits indefinitely unless you pass --wait. A timeout or failed run exits with a nonzero status.

Environment Variables

| Variable | Purpose | | -------------------- | -------------------------------- | | WEBSKILLET_API_KEY | API key used by the SDK and CLI. |