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

node-red-contrib-sendit

v1.1.0

Published

Node-RED nodes for SendIt - Multi-platform social media publishing

Readme

SendIt Node-RED Integration

Node-RED nodes for multi-platform social media publishing via SendIt.

Installation

cd ~/.node-red
npm install node-red-contrib-sendit

Or install via the Node-RED Palette Manager:

  1. Open Node-RED settings
  2. Go to "Manage palette"
  3. Search for "node-red-contrib-sendit"
  4. Click Install

Nodes

sendit-config

Configuration node for storing API credentials.

sendit-publish

Publishes content immediately to selected platforms.

Inputs:

  • msg.payload - Text content (string) or object with text and mediaUrl
  • msg.platforms - Override configured platforms (optional)

Outputs:

  • msg.payload - API response with results and errors

sendit-schedule

Schedules content for future publishing.

Inputs:

  • msg.payload.text - The text content
  • msg.payload.mediaUrl - Optional media URL
  • msg.payload.scheduledTime - ISO 8601 datetime
  • msg.platforms - Override configured platforms (optional)

Outputs:

  • msg.payload - API response with scheduleId

sendit-accounts

Lists connected social media accounts.

Outputs:

  • msg.payload.accounts - Array of connected accounts

sendit-webhook

Receives webhook events from SendIt.

Setup:

  1. Deploy the node to get the webhook URL
  2. Register the URL in SendIt (Dashboard or API)
  3. Configure the webhook secret for signature verification

Outputs:

  • msg.payload - Event data
  • msg.event - Event type (e.g., "post.published")
  • msg.deliveryId - Unique delivery ID
  • msg.timestamp - Event timestamp

Supported Platforms

  • LinkedIn
  • Instagram (Business/Creator accounts)
  • Threads
  • TikTok
  • X (Twitter)

Example Flows

Simple Publish Flow

[
  {
    "id": "inject1",
    "type": "inject",
    "payload": "Hello from Node-RED!",
    "wires": [["publish1"]]
  },
  {
    "id": "publish1",
    "type": "sendit-publish",
    "platforms": ["linkedin"],
    "wires": [["debug1"]]
  },
  {
    "id": "debug1",
    "type": "debug"
  }
]

RSS to Social Media

[
  {
    "id": "rss1",
    "type": "feedparse",
    "url": "https://example.com/feed.xml",
    "wires": [["function1"]]
  },
  {
    "id": "function1",
    "type": "function",
    "func": "msg.payload = { text: msg.title + '\\n\\n' + msg.link };\\nreturn msg;",
    "wires": [["publish1"]]
  },
  {
    "id": "publish1",
    "type": "sendit-publish",
    "platforms": ["linkedin", "twitter"],
    "wires": [["debug1"]]
  }
]

Webhook to Slack

[
  {
    "id": "webhook1",
    "type": "sendit-webhook",
    "events": ["post.published"],
    "wires": [["function1"]]
  },
  {
    "id": "function1",
    "type": "function",
    "func": "msg.payload = 'Post published to ' + msg.payload.platform;\\nreturn msg;",
    "wires": [["slack1"]]
  },
  {
    "id": "slack1",
    "type": "slack-webhook",
    "wires": []
  }
]

Configuration

API Key

Get your API key from the SendIt Dashboard.

Base URL

Default: https://sendit.infiniteappsai.com/api/v1

Development

# Clone the repository
git clone https://github.com/infiniteappsai/sendit
cd sendit/integrations/node-red

# Install dependencies
npm install

# Link for local development
npm link
cd ~/.node-red
npm link node-red-contrib-sendit

# Restart Node-RED

Support

  • Documentation: https://sendit.infiniteappsai.com/docs
  • Issues: https://github.com/infiniteappsai/sendit/issues
  • Email: [email protected]

License

MIT