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

bulkpublish

v1.0.3

Published

Social media automation API for AI agents, LLMs, and developers. Publish to 11 platforms programmatically.

Readme

BulkPublish Node.js SDK

Official TypeScript/Node.js SDK for the BulkPublish social media API. Automate publishing to 11 platforms — built for developers, scripts, AI agents, LLMs, and agentic workflows.

Installation

npm install bulkpublish

Requires Node.js 18+. Zero dependencies — uses native fetch.

Quick Start

import { BulkPublish } from 'bulkpublish';

const bp = new BulkPublish({ apiKey: 'bp_your_key_here' });

// List connected social media channels
const { channels } = await bp.channels.list();

// Upload media
const { file } = await bp.media.upload('./photo.jpg');

// Schedule a post to multiple platforms
const post = await bp.posts.create({
  content: 'Hello from the BulkPublish API!',
  channels: [
    { channelId: channels[0].id, platform: channels[0].platform },
    { channelId: channels[1].id, platform: channels[1].platform },
  ],
  mediaFiles: [file.id],
  scheduledAt: '2026-04-10T09:00:00Z',
  timezone: 'America/New_York',
  status: 'scheduled',
});

Post Type Overrides

// Post a reel to Instagram
const post = await bp.posts.create({
  content: 'Check this out!',
  channels: [{ channelId: 1, platform: 'instagram' }],
  mediaFiles: [mediaId],
  postTypeOverrides: { instagram: 'reel' },
});

Built for Automation

BulkPublish is designed for programmatic social media management — no browser sessions, no UI, no OAuth flows at runtime. Connect your accounts once in the dashboard, then automate everything:

  • AI agents — Use with Claude (MCP server), GPT (function calling), LangChain, or any LLM with tool use
  • Server-side scripts — Cron jobs, CI/CD pipelines, content syndication
  • Bulk operations — Iterate over data and schedule hundreds of posts programmatically
  • Analytics pipelines — Pull engagement data into your own dashboards or AI analysis

Full TypeScript Types

Every request and response is fully typed. Works great with IDE autocomplete and LLM code generation:

import type { Post, Channel, CreatePostParams } from 'bulkpublish';

Available Resources

| Resource | Methods | |----------|---------| | bp.posts | create, list, get, update, delete, publish, retry, bulk, queueSlot, metrics, story | | bp.channels | list, get, delete, health | | bp.media | upload, list, get, delete | | bp.analytics | summary, engagement, refresh, account | | bp.labels | list, create, update, delete | | bp.schedules | list, create, update, delete |

Platform Requirements

| Platform | Post Types | Media | Required Fields | Char Limit | |---|---|---|---|---| | Facebook | post, reel, story | Optional (reel/story need media) | — | 63,206 | | Instagram | feed_photo, feed_video, reel, story, carousel | Required (type-specific) | — | 2,200 | | X / Twitter | tweet | Optional (max 4 images or 1 video) | — | 280 | | YouTube | video, short | Video required | platformSpecific.youtube.title | 5,000 | | TikTok | video, photo_slideshow | Video or images required | — | 2,200 | | LinkedIn | post, multi_image, pdf_carousel, article | Varies by type | url for article | 3,000 | | Pinterest | pin, video_pin, carousel | Required | platformSpecific.pinterest.title | 500 | | Threads | text, image, video, carousel | Optional | — | 500 | | Bluesky | post | Optional (max 4 images or 1 video) | — | 300 | | GMB | standard, event, offer | Optional (image only) | dates for event | 1,500 | | Mastodon | post | Optional (max 4 images or 1 video) | — | 500 |

Important:

  • YouTube and TikTok only accept video — do not include them for image-only posts
  • Instagram defaults to feed_photo — set postTypeOverrides for video content
  • Use platformContent for shorter text on low-limit platforms (Bluesky 300, Pinterest 500)

Resources

License

MIT