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

n8n-nodes-befroosh

v0.2.0

Published

Befroosh custom n8n nodes (SMS providers, etc.)

Readme

n8n-nodes-befroosh

Custom n8n nodes for Befroosh. This package is the home for any n8n node we build; right now it ships the Befroosh SMS node.

Layout

apps/n8n-nodes/
├── credentials/            # one ICredentialType per SMS provider
│   ├── NotrikaSmsApi.credentials.ts
│   ├── BatabjamSmsApi.credentials.ts
│   ├── MeliPayamakSmsApi.credentials.ts
│   └── BatabjamAboardSmsApi.credentials.ts
├── nodes/
│   └── BefrooshSms/
│       ├── BefrooshSms.node.ts
│       └── sms.svg
├── scripts/copy-icons.mjs  # copies .svg/.png into dist after tsc
├── tsconfig.json
└── package.json            # the "n8n" field registers nodes + credentials

Develop

pnpm --filter n8n-nodes-befroosh build        # tsc → dist + icons
pnpm --filter n8n-nodes-befroosh check-types   # type-check only
pnpm --filter n8n-nodes-befroosh dev           # tsc --watch

Add another node

  1. Create nodes/<MyNode>/<MyNode>.node.ts exporting a class that implements INodeType (and an icon next to it).
  2. If it needs secrets, add credentials/<MyApi>.credentials.ts implementing ICredentialType.
  3. Register both in the "n8n" field of package.json (point at the compiled dist/...js).
  4. pnpm --filter n8n-nodes-befroosh build.

Befroosh SMS node

One node, Provider dropdown selects which backend SMS service to use. Each provider has its own credential (shown only when that provider is selected). Request shapes mirror apps/core/src/providers/sms/services/*:

| Provider | Endpoint | Auth | Operations | |----------|----------|------|------------| | Notrika | POST api.notrikaco.ir/api/v1/messages/send/template | X-Api-Key | Send Message, Send OTP | | Batabjam | POST smsapi.pishgamrayan.com/Messages/Send | Authorization token | Send Message | | MeliPayamak | GET sms.toolzi.ir/post/Send.asmx/... | username/password in query | Send Message, Send OTP | | Batabjam Aboard | login /api/login.phpPOST /api/send-bulk-sms.php | bearer (from login) | Send Message, Send OTP |

Fields: To (Batabjam/Aboard accept comma-separated numbers), Message (Send Message) or OTP Code (Send OTP). Set the node to Continue On Fail if a send must never break a workflow.

Install into an n8n instance

A custom node has to be loaded by the n8n runtime (it is not importable as a workflow):

  • Self-hosted: the package is published to npm as n8n-nodes-befroosh, so the simplest path is Settings → Community Nodes → Install → n8n-nodes-befroosh. Alternatively npm i n8n-nodes-befroosh into ~/.n8n/nodes/ (or build locally and drop it under ~/.n8n/custom/). Restart n8n after a manual install.
  • Managed/hosted (e.g. koochaa): only works if the host allows custom/community nodes. If it doesn't, use the HTTP-Request / sub-workflow approach in Back/integrations/n8n/ instead.