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

@owlai/sdk

v0.3.2

Published

Owl AI (withowl.ai) product sessions: UI session replay plus events. For the production agent, use @owlai/agent-sdk.

Readme

@owlai/sdk

Product sessions for Owl AI (withowl.ai). Drop it into your web app and Owl records UI usage as first-class sessions — screens, clicks, and drop-offs — then analyzes them. This is not a Hotjar tape to watch, and it is not CAMEL-AI OWL.

For the production agent you already run (intents, tool calls, evals, shadow clones), use @owlai/agent-sdk. Owl never hosts that agent.

Built on rrweb for DOM replay, with a lightweight event stream on top. One script, no per-event instrumentation required: pages, route changes, clicks, form submits, and friction signals are captured automatically.

Install

npm install @owlai/sdk
import { init } from "@owlai/sdk";

const owl = init({ publicKey: "owl_pk_prod_xxxxxxxx" });

Or via script tag (no bundler):

<script>
  (function () {
    var s = document.createElement('script');
    s.src = 'https://cdn.jsdelivr.net/npm/@owlai/[email protected]/dist/owl.min.js';
    s.async = true;
    s.onload = function () { window.OwlSDK.init({ publicKey: 'owl_pk_prod_xxxxxxxx' }); };
    document.head.appendChild(s);
  })();
</script>

Get your public key from Settings → Install SDK in the Owl dashboard. Keys are environment-scoped and safe to ship in client code:

owl_pk_<env>_<random>

React

import { OwlProvider, useOwl } from "@owlai/sdk/react";

<OwlProvider publicKey="owl_pk_prod_xxxxxxxx">
  <App />
</OwlProvider>;

// anywhere below the provider
const owl = useOwl();
owl.identify({ userId: "u_123", email: "[email protected]" });

Also exported: useOwlTrack() and <OwlIdentifyComponent user={…} />.

API

const owl = init(config);

owl.identify({ userId, accountId?, email?, traits? });
owl.track("business.event", { plan: "pro" });
owl.reset();             // on logout — starts a fresh anonymous identity
owl.notifyRouteChange(); // SPA fallback, see below
owl.shutdown();

Config

| Option | Default | What it does | | --- | --- | --- | | publicKey | — | Required. Your Owl public key. | | environment | "prod" | "dev" | "staging" | "prod". | | replay | true | rrweb DOM session recording. | | recordPaths | all | Allowlist of path globs to record, e.g. ["/checkout*"]. | | ignorePaths | none | Blocklist of path globs. Wins over recordPaths. | | geolocation | true | Resolve country/city from IP for filtering. | | networkCapture | true | Patch fetch/XHR + errors to detect failed submits and dead clicks. | | debug | false | Verbose console logging. |

Screen targeting can also be set centrally from the Owl dashboard — a server-side allowlist overrides recordPaths, so you can change what's recorded without shipping code.

Single-page apps

Route changes are detected automatically via the History API (pushState, replaceState, popstate, hashchange), which covers React Router, Vue Router, Next.js, and anything else built on it — no extra code needed.

If your router swaps views without touching the History API, call owl.notifyRouteChange() after navigating so screen targeting re-evaluates and the route is recorded.

Privacy

  • All input values are masked by default (maskAllInputs). To mask arbitrary text as well, pass a maskTextSelector CSS selector.
  • No cookies — identity lives in sessionStorage (_owl_session_id, _owl_window_id) and localStorage (_owl_anon_id).
  • reset() clears the identity, and shutdown() stops all capture.

Events captured

session.started · page.viewed · route.changed · interaction.click · interaction.form · user.identified · business.event · activation.milestone · friction.rage_click · friction.stuck · signal.v2 · feature_flag.evaluated

Not these other Owls

This is Owl AI at withowl.ai. Not owl.co, owl-ai.com, aiowl.org, OwlAIProject, or CAMEL-AI OWL.

Links

MIT © Owl