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

plugin-microsoft-graph-gateway

v1.1.0

Published

Queue-backed Microsoft Graph gateway for Outlook, Lists, OneDrive and SharePoint.

Readme

Microsoft Graph Gateway

Production-oriented NocoBase gateway for Microsoft Graph Outlook Mail, Microsoft Lists, OneDrive and SharePoint.

Setup

  1. Enable the plugin and open Settings → Microsoft Graph Gateway → Configuration.
  2. Enter the Entra ID tenant ID, application/client ID and client secret.
  3. Grant the application the required Microsoft Graph application permissions and tenant admin consent.
  4. Save, then select Test connection.
  5. Open API Keys, create a scoped key and copy it immediately.
  6. Open API Documentation for the deployment-specific base URL and endpoint list.

External requests use X-API-Key. Mutating requests should also use a stable Idempotency-Key and are processed through the persistent queue. Queue status, retries and audit records are available in Queue & Audit.

Example

curl -X POST 'https://nocobase.example.com/api/msGraphGateway:sendEmail' \
  -H 'X-API-Key: mgk_xxx' \
  -H 'Idempotency-Key: invoice-10001' \
  -H 'Content-Type: application/json' \
  -d '{
    "user": "[email protected]",
    "message": {
      "subject": "Invoice 10001",
      "body": { "contentType": "HTML", "content": "<p>Attached invoice.</p>" },
      "toRecipients": [{ "emailAddress": { "address": "[email protected]" } }]
    }
  }'

The response contains data.jobId. Query it with msGraphGateway:getJob or inspect it in the admin queue.

Permissions

Grant only permissions needed by enabled API-key scopes. Typical permissions are Mail.Read, Mail.ReadWrite, Mail.Send, Sites.Read.All, Sites.ReadWrite.All, Files.Read.All and Files.ReadWrite.All.

Files up to 4 MB can be queued through uploadFile. Larger files use createUploadSession; the caller uploads chunks directly to the temporary Microsoft upload URL.