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

@byteink/mppjs

v0.1.5

Published

Convert Microsoft Project (.mpp) files to XML from Node, Bun, or Deno. Native binary, no JVM required.

Downloads

198

Readme

@byteink/mppjs

Convert Microsoft Project (.mpp) files to MSPDI XML from Node, Bun, or Deno. Native binary, no JVM required at runtime.

npx @byteink/mppjs project.mpp                  # → project.xml
npx @byteink/mppjs project.mpp out/result.xml
import { convert } from "@byteink/mppjs";

const { outputPath } = await convert("project.mpp", "out.xml");

Why

The standard tool for parsing .mpp is MPXJ (Java). @byteink/mppjs ships MPXJ as a GraalVM-AOT-compiled native binary, so you get the parser without Docker, without a JVM, without jpype/IKVM, and without a multi-second cold start.

Install

npm install @byteink/mppjs   # or pnpm add / yarn add / bun add

The native binary for your platform is delivered via an optionalDependencies sidecar (@byteink/mppjs-<platform>-<arch>). Supported targets:

| Platform | Sidecar package | | ------------- | -------------------------------- | | macOS arm64 | @byteink/mppjs-darwin-arm64 | | Linux x64 | @byteink/mppjs-linux-x64 | | Linux arm64 | @byteink/mppjs-linux-arm64 | | Windows x64 | @byteink/mppjs-win32-x64 |

If your platform isn't listed, open an issue.

API

import { convert, type ConvertOptions, type ConvertResult } from "@byteink/mppjs";

await convert(input: string, output?: string, options?: ConvertOptions): Promise<ConvertResult>
  • input — path to .mpp, .mpx, or any format MPXJ understands
  • output — path for the MSPDI XML; defaults to <input-without-ext>.xml
  • options.binaryPath — override the bundled binary path (also via MPPJS_BINARY env var)
  • options.timeoutMs — kill the spawned process after this many ms (default 60_000)

CLI

Usage: mppjs <input> [output.xml]

Exit codes: 0 ok, 1 conversion failure, 2 usage/IO error.

Building from source

Requires Liberica NIK 23.1.x (or any GraalVM JDK 21 distribution including native-image) and Maven 3.9+.

git clone https://github.com/byteink/mppjs
cd mppjs
npm install
npm run build              # jar → native binary → tsc
npm test                   # via bun, against MPXJ sample files

The native-image build takes 5–8 minutes on a modern laptop.

See CLAUDE.md for architecture details, including how the reflection metadata under .ni-config/ is regenerated when MPXJ is upgraded.

License

  • The TypeScript wrapper (this package) is MIT.
  • The platform-specific binaries shipped via @byteink/mppjs-<platform> sidecars contain MPXJ and are LGPL-2.1-or-later. Each sidecar package includes the LGPL text and a NOTICE pointing to the upstream source.

The wrapper invokes the binary as a subprocess; LGPL obligations are contained to the sidecar packages.