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

@rapidmx/mapi-plugin

v1.0.0

Published

A RapidMX plugin that provides MAPI over HTTP protocol support.

Readme

RapidMX: MAPI

CI Coverage Status npm version

MAPI over HTTP protocol support for a @rapidmx/restapi-based mail server — covers the pragmatic subset a real Outlook desktop client (and the "New Outlook"/Monarch client, for on-prem/hybrid mailboxes) needs: mailbox logon, folder/message browsing, read-only Contacts/Tasks folder browsing, compose/send (including deferred/"do not deliver before" send and read-receipt requests), full Calendar CRUD including meeting invites/responses, deletion, a pragmatic (full-dump, not byte-perfect ICS) incremental sync, read-only Outlook Categories (PidNameKeywords, backed by restapi's Label/labelUids model), and a minimal NSPI address-book endpoint (Bind/Unbind/GetMatches) for GAL "search as you type."

Like ActiveSync, it authenticates with the same JWT the rest of a RapidREST app's routes already use — no MAPI-specific auth code — which means a real native Outlook client needs an OAuth 2.0 Authorization Server role in front of it to obtain one; that piece is tracked as a follow-up in @rapidrest/auth, not this package.

Documented gaps: no byte-perfect ICS (a real client still works correctly against the full-dump form, just less efficiently); no counter-proposals, meeting-forwarding, delegate scheduling, or resource-booking auto-accept; no DST-aware timezones (fixed-offset approximation only); no recurrence exceptions; no RopModifyRecipients; no public-folder support; no delegate/shared-mailbox access; no rules/permissions/search-folder ROPs; no client-certificate enrollment; NSPI limited to Bind/Unbind/GetMatches only; Contacts/Tasks are browse-only (no create/edit via MAPI - use the REST API for that); Categories are likewise read-only (assign/remove labels via the REST API - there's no general "edit an existing message's properties" ROP path to hang a write-back on); no Focused Inbox (PidTagInferenceClassification) exposure, since its real wire encoding isn't publicly documented closely enough to implement with confidence; restapi's End-to-End Encryption and search features are deliberately out of scope here - E2E is designed so a real Outlook client needs no protocol changes (native S/MIME), and restapi's own specs document encrypted-mail search as unachievable from Outlook, not a gap this package could close.

A @rapidmx/autodiscover-plugin mount lets real Outlook clients find this package's endpoints from just an email address.

Usage

Mount MapiEmsmdbRouteMongo/SQL (mailbox/store access) and MapiNspiRouteMongo/SQL (address book) from @rapidmx/mapi-plugin/mongo or /sql at their conventional paths, each with a trivial one-line subclass:

import { MapiEmsmdbRouteMongo, MapiNspiRouteMongo } from "@rapidmx/mapi-plugin/mongo";
import { RouteDecorators } from "@rapidrest/service-core";
const { Route } = RouteDecorators;

@Route("/mapi/emsmdb")
export class MyMapiEmsmdbRoute extends MapiEmsmdbRouteMongo {}

@Route("/mapi/nspi")
export class MyMapiNspiRoute extends MapiNspiRouteMongo {}

Requires a @rapidmx/restapi-backed application (models, blob storage, and scan pipeline).

Status

Complete. This package was carved out of the former @rapidrest/mail monolith — see .claude/NOTES.md for the split's own rationale and history.