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-businesscentral

v0.1.0

Published

Node-RED node for Microsoft Dynamics 365 Business Central REST APIs

Readme

node-red-businesscentral

Node-RED nodes for reading data from Microsoft Dynamics 365 Business Central REST APIs (built-in and custom APIs).

Features

  • businesscentral-config config node for shared connection/auth settings
    • Tenant ID
    • Environment
    • Client ID / Client Secret
    • Custom API namespaces (publisher/group/version)
  • businesscentral-get node for data retrieval
    • Dynamic company and endpoint lookup
    • Built-in and extension endpoints
    • Optional field selection ($select)
    • Filter support ($filter) from config or msg.filterGroups
    • Dependency handling for parent/child endpoints (for example sales orders -> sales lines)
  • businesscentral-filter node to visually build msg.filterGroups
    • Group logic (and / or)
    • Conditions and nested groups
    • Dynamic templates from incoming message values ({{msg.payload.id}})

Installation

Option 1: Install from npm (recommended)

When published:

npm install node-red-businesscentral

Option 2: Install locally for development

From your Node-RED user directory (typically ~/.node-red):

npm install <path-to-this-project>

Then restart Node-RED.

Node-RED Palette Manager

After publishing to npm, this package can be added from Manage palette in Node-RED by searching:

  • node-red-businesscentral

Quick Start

  1. Add a businesscentral-config node and fill:
    • Tenant ID
    • Environment name
    • Client ID / Client Secret
  2. Add businesscentral-get and select:
    • Config node
    • Company
    • Endpoint
  3. (Optional) Add businesscentral-filter before businesscentral-get to build advanced filters.
  4. Deploy and trigger with an Inject node.

Message contract

Input overrides supported by businesscentral-get:

  • msg.company
  • msg.companyName
  • msg.endpoint
  • msg.selectedFields (array or comma-separated string)
  • msg.filterGroups
  • msg.query (additional query parameters)

Output:

  • msg.payload - API response rows/object
  • msg.statusCode - HTTP status
  • msg.bc - metadata (requestUrl, requestId, appliedFilter, endpoint/company context)

Permissions and authentication

The node uses OAuth2 client credentials against Business Central API scope:

  • https://api.businesscentral.dynamics.com/.default

Ensure your Azure app registration has required Business Central API application permissions with admin consent.

Development

Run tests:

npm test

Packaging checklist

Before publishing:

  1. Update package.json:
    • name (must be unique on npm)
    • version
    • author
    • repository, homepage, bugs
  2. Verify with:
    • npm pack
  3. Publish:
    • npm publish

License

MIT - see LICENSE.