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

@clawpro/node

v0.2.0

Published

Official Node.js / TypeScript SDK for the ClawPro Instagram outbound API.

Readme

@clawpro/node

Official Node.js / TypeScript SDK for the ClawPro Instagram outbound API — connect sending accounts, run competitor-audience campaigns, score leads, manage webhooks, and read usage.

npm install @clawpro/node

Requires Node 18+ (uses the global fetch). Get an API key from the developer portalAPI & Developers → API Keys.

Quick start

import { ClawPro } from '@clawpro/node';

const clawpro = new ClawPro({ apiKey: process.env.CLAWPRO_API_KEY! });

// Connect a sending account (geo-matched mobile proxy assigned automatically)
const account = await clawpro.accounts.create({ username: 'burner_account', country: 'gb' });

// Launch a campaign against your competitors' engagers
const campaign = await clawpro.campaigns.create({
  accountId: account.id,
  name: 'Founders engaging with X',
  targets: ['@influencer1', '@influencer2'],
  offer: 'We help B2B founders book demos via Instagram outbound.',
  icpCriteria: 'B2B SaaS founders or growth leads, 1–50 employees, US/UK.',
  dailyDmTarget: 20,
});

await clawpro.campaigns.run(campaign.id);

// Read warm replies, then mark a lead booked (fires the `lead.booked` webhook)
const inbox = await clawpro.campaigns.inbox(campaign.id);
if (inbox[0]) await clawpro.leads.update(inbox[0].id, { status: 'booked' });

Authentication

Every request sends your key as the X-API-Key header. Keys carry a scope: full, read (GET only), or write (mutations only). The API is rate-limited per key (see the X-RateLimit-* response headers).

Resources

| Resource | Methods | |---|---| | accounts | list(), create(), delete(id) | | campaigns | list(), create(), update(id, patch), run(id), leads(id, {status?}), inbox(id) | | leads | update(id, { status }) | | webhooks | events(), list(), create(), delete(id), test(id), deliveries(id) | | keys | list(), create(), revoke(id) | | usage | summary(), logs(filter) |

Errors

Non-2xx responses throw a typed ClawProError:

import { ClawPro, ClawProError } from '@clawpro/node';

try {
  await clawpro.accounts.create({ username: 'taken_handle' });
} catch (err) {
  if (err instanceof ClawProError) {
    console.error(err.status, err.message, err.requestId); // e.g. 409 "@taken_handle is already connected"
  }
}

Configuration

new ClawPro({
  apiKey: '...',
  baseUrl: 'https://api.tryclawpro.com', // override for self-hosted / staging
  timeoutMs: 30_000,
  fetch: customFetch,                    // optional fetch override
});

License

MIT