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/activesync-plugin

v1.3.0

Published

RapixMX plugin that provides Exchange ActiveSync (EAS) protocol support.

Readme

RapidMX: ActiveSync

CI Coverage Status npm version

Exchange ActiveSync (EAS) protocol support for a @rapidmx/restapi-based mail server — covers every command a real mobile client (iOS Mail, Outlook mobile, Android/Samsung Mail) needs for day-to-day use: Provision (configurable password/encryption policy, real per-device acknowledgement enforcement, and a full three-step RemoteWipe flow triggered via BaseDeviceSyncStateRoute's admin-only POST /:uid/remote-wipe), FolderSync, Sync (Email/Contacts/Calendar/Tasks, multiple <Collection>s per request, client-originated Add/Change/Delete for every collection type including Email Drafts), SendMail/SmartForward/SmartReply, ItemOperations, Ping, Search (GAL), MeetingResponse, Settings (including Oof), GetItemEstimate, MoveItems, and ResolveRecipients.

Deliberately out of scope: Notes sync, DocumentLibrary/file-share access, RightsManagement/IRM, Find, and AirNotification — legacy/rarely-used corners of the spec that even mature reference servers only partially implement; a client probing capabilities via OPTIONS correctly sees these as unsupported (see below), same as any other command this library doesn't register a handler for.

It authenticates with the same JWT the rest of a RapidREST app's routes already use — no separate EAS-specific login flow — which means a real native device (rather than a test client that already has a token) 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.

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

Responds to a client's OPTIONS capability probe with real MS-ASProtocolVersions/MS-ASProtocolCommands headers (versions 14.0/14.1/16.0/16.1, matching the MIME-based SendMail/SmartForward/SmartReply this package actually implements). This requires @rapidrest/service-core >=1.5.0 (the version that added hasExplicitOptionsRoute(), letting this route's own OPTIONS handler run instead of the framework's global CORS middleware always answering with a blanket preflight 204) — this package's own peerDependencies doesn't hard-pin that minimum since every other command still works fine on an older service-core, it just means OPTIONS falls back to the bare 204 and a client falls back to trying its first POST directly.

Usage

Mount EasRouteMongo/EasRouteSQL (from @rapidmx/activesync-plugin/mongo or /sql) at the protocol's well-known path with a one-line subclass:

import { EasRouteMongo } from "@rapidmx/activesync-plugin/mongo";
import { RouteDecorators } from "@rapidrest/service-core";
const { Route } = RouteDecorators;

@Route("/Microsoft-Server-ActiveSync")
export class MyEasRoute extends EasRouteMongo {}

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.