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

mongoshield

v1.0.1-alpha.1

Published

MongoShield is a revolutionary, self-contained MongoDB data protection utility built specifically for modern Node.js and TypeScript ecosystems. It eliminates the need for native OS binaries like mongodump and mongorestore. This makes it ideal for constrai

Readme

MongoShield 🛡️

Status: ✅ PHASE 1 (CORE ENGINE) COMPLETE | 🚧 PHASE 2 (MVP) ACTIVE 🚧

MongoShield is a revolutionary, highly secure, and entirely self-contained MongoDB data protection utility tailored specifically for modern Node.js and TypeScript ecosystems.

Why this package?

The core motivation behind MongoShield is to solve the glaring flaws present in the deprecated mongodb-backup-cloud package and most other Node.js database backup tools. The vast majority of existing tools act as simple wrappers around the host operating system's mongodump and mongorestore binaries. This creates a massive limitation: they fail immediately in constrained environments where developers cannot install system-level database tools (such as Serverless Functions on Vercel/AWS Lambda, minimal Docker containers, or PaaS deployments like Heroku).

MongoShield eliminates this dependency entirely. It is built purely on the native Node.js MongoDB driver.

Installation

npm install mongoshield
# or
pnpm add mongoshield
# or
yarn add mongoshield

Packages

MongoShield is a modular ecosystem. The main mongoshield package includes the core engine and high-level API. For specific storage providers, install the corresponding package:

| Package | Description | |---|---| | mongoshield | Main package — high-level API + core engine. Start here. | | @mongoshield/core | Low-level streaming engine, providers, and encryption. | | @mongoshield/provider-local | Local filesystem storage provider. | | @mongoshield/provider-s3 | AWS S3 and S3-compatible storage provider. |

Quick Start

import { BackupEngine, ArchiveProvider } from 'mongoshield';

const provider = new ArchiveProvider('./backups/my_backup.msaf');

const engine = new BackupEngine({
  target: {
    uri: 'mongodb://localhost:27017',
    dbName: 'production_db',
    // Optional: filter collections
    includeCollections: ['users', 'orders']
  },
  output: {
    compression: { enabled: true, level: 9 },
    encryption: {
      enabled: true,
      masterKey: 'your-64-character-hex-master-key'
    }
  }
}, provider);

await engine.run();
console.log('Backup completed successfully!');

Documentation

For deep technical details, roadmaps, and setup instructions, please refer to our docs/ directory:

  • 🗺️ Project Plan & Roadmap: Vision, core ideas, and phased roadmap.
  • 🛠️ Developer Guide: Deep dive into the streaming engine, monorepo setup, CI/CD, and local testing.
  • 🤖 Agent Context: System prompt and strict rulebook for AI Agents modifying this codebase.

License

MIT