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

kawlnow

v0.1.3

Published

Install the Kawl Now voice widget in websites and coding-agent workflows.

Readme

Kawl Now website installer

Install Kawl Now in an existing website, then connect it with a setup API key. The package is public: it is not locked to a Kawl Now account or browser session. Only account configuration needs the key. Start with the public installation guide, or read the complete setup reference.

Install with your coding agent

Give your coding agent one prompt in the website repository:

Install Kawl Now Support in this website using https://www.kawlnow.com/install and [email protected]. Finish the inactive integration, install any required dependency, render it once in the shared layout and run this project's checks. Confirm the real production HTTPS origin and run kawlnow doctor --json with that origin. Only when readiness.keyInputAllowed is true, ask me for my 24-hour setup API key through a secure input. Connect it without saving the key. Leave deployment, knowledge approval, testing and call enablement to me.

Use “Sales” instead of “Support” for the Sales agent. The agent begins without an account, workspace ID, key or browser sign-in:

npm exec --yes [email protected] -- kawlnow init --channel support --write --json

Without --write, the command prints a local preview and never reads a key or contacts an account. The official npm package is kawlnow. Existing immutable first-party archives remain valid. Resume a previously prepared plan with the same CLI version that created it; a new release never silently migrates old plans.

The installer detects HTML, Vite, React and Next.js. HTML/Vite receives an inactive script marker. React/Next.js receives a component that returns null; your agent installs the dependency and renders that component once in the existing shared layout before asking for the key. No widget is loaded while these placeholders are inactive. Existing integrations and files are preserved; conflicts require review rather than an overwrite. Review the public kawlnow.install.support.json (or Sales equivalent) and run the website checks.

After local integration, create a setup key for the selected brand and agent in Kawl Now's Installation panel. It expires after 24 hours and can connect only that brand and agent. Paste it into the installer's hidden terminal prompt, or let your trusted agent supply it through standard input or its secret facility. Never put the key in command arguments, website code, public configuration or logs. The key is used in memory and is not saved. A full-management API key is not accepted. No browser OAuth sign-in is required during this installation.

After wiring and the website checks, run this local check with the independently confirmed deployment origin:

npm exec --yes [email protected] -- kawlnow doctor --channel support --site-origin https://YOUR_PRODUCTION_DOMAIN --json

doctor never writes files, reads a key, runs project code or makes a network request. It validates installer-owned file hashes, the reviewed dependency and one shared-layout mount. Normal relative imports and JSX are checked statically. Aliases, composition and some package-manager layouts can be inconclusive. Only after independently reviewing the source and completing the build may a trusted agent add --confirm-local-integration. That flag cannot override a missing or changed generated file, a missing/conflicting dependency, an absent shared layout or duplicate mounts. It is an agent acknowledgment, not a user approval dialog. Static source evidence, agent acknowledgment and browser acceptance stay separate in the JSON result.

Doctor exits 0 only when readiness.keyInputAllowed is true. Once it passes, ask for the setup key and resume:

npm exec --yes [email protected] -- kawlnow connect --channel support --site-origin https://YOUR_PRODUCTION_DOMAIN --write

Repeat --confirm-local-integration on connect if doctor needed it. connect checks local prerequisites and the explicit origin before reading any key. It uses a hidden terminal prompt. Agents and CI may use --api-key-stdin with one secret line from their secret facility, or inject KAWLNOW_SETUP_KEY through that facility. Never paste an inline secret assignment into shell history. --json never prompts; it can read only explicitly provided stdin or environment input.

Machine results include protocol: {"name":"kawlnow-install","version":1}, checks, readiness and ordered nextActions. Command actions carry an executable and argument array, so agents do not need to extract shell commands from prose. No action contains a key. Exit 1 reports a validation/service error; exit 2 reports an incomplete step:

| Status | Agent action | | --- | --- | | not_prepared | Run init to create the inactive integration. | | awaiting_shared_layout | Complete dependency/layout checks; do not request a key. | | awaiting_site_origin | Verify the real public HTTPS deployment origin; do not request a key. | | awaiting_setup_key | Doctor passed; request a setup key through secure input. | | local_integration_connected | Run checks again and obtain deployment authorization before publishing. |

Doctor can return awaiting_setup_key with exit 0 because its local check is complete; init/connect return exit 2 until the account is connected. Errors expose a stable code, safe explanation and remoteChangesPerformed. An unknown remote outcome requires checking Installation before retrying; writes are never retried automatically.

The dashboard automatically copies optional --expect-workspace public context, checked before origin writes or local activation; generic users do not need to find or paste a workspace ID.

The key returns the public workspace ID automatically and activates only the installer-owned placeholder. --site-origin must be the verified production HTTPS origin; it merges that origin without removing existing origins. Project metadata is never trusted to authorize an origin or redirect a future key. Without an explicit origin, connection reports awaiting_site_origin and exits 2 before reading a key or activating the integration. A custom Kawl Now endpoint requires an explicitly reviewed --app-origin on every connection; HTTP redirects are refused.

The installer does not publish the website, approve knowledge, enable customer calls, change billing or destinations, or start a conversation. Publish when authorized, inspect the real widget after hydration/navigation, and use the Installation panel to verify the published page. The owner keeps knowledge review, voice acceptance and call enablement. Browser OAuth MCP remains an optional alternative for broader, scoped setup work.

--cwd selects a project explicitly, --framework html|react|next selects a recipe, and --workspace BRAND_ID --channel support|sales retains manual local-only installation using public IDs. Manual mode grants no account access.

Use the package directly

npm install --save-exact [email protected]
# Equivalent dependency installation:
pnpm add [email protected]
yarn add [email protected]
bun add [email protected]

In a shared React or Next.js layout, render one client component:

import { KawlNowWidget } from 'kawlnow/react';

<KawlNowWidget workspaceId="YOUR_WORKSPACE_ID" channel="support" />

For a Next.js Server Component, place that import in a small file beginning with 'use client', then import the wrapper from your root layout. Keep the same brand and channel for the page lifetime. The generated component does this for you.

For plain JavaScript, call the loader once during application startup:

import { installWidget } from 'kawlnow';

await installWidget({ workspaceId: 'YOUR_WORKSPACE_ID', channel: 'support' });

The loader inserts the existing external classic widget script, preserving its attributes. It does not bundle or execute a copy of widget.js as an ES module. The widget remains mounted for the document lifetime, including React Strict Mode remounts and client navigation. Removing the React wrapper does not end a call or remove the widget; reload the page to change the integration's identity. Multiple explicit Support/Sales integrations are distinct.

No browser work happens when the package is imported during server rendering. Loading the widget may request public configuration. A voice conversation starts only after the visitor acts. Script loading does not prove account readiness, microphone audio or human handover. The published-page verifier is static, so JavaScript-installed widgets may need a real browser check after deployment.

Content security policy

Allow the configured Kawl Now origin in your script, frame and connection policies as required by the existing widget. A nonce option can match a script nonce your application already supplies. Preserve the rest of your policy; do not disable CSP to make an installation pass. Review the actual published page and its browser console if a policy blocks the widget.

This package has no install lifecycle hooks, telemetry or bundled service keys.

For runnable HTML, React and Next.js starters and a browser-local policy checker, visit kawlnow.com/install. The checker can inspect pasted headers; it does not establish browser execution, microphone audio or account readiness.