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

@mfeflow/core

v0.9.0

Published

The engine behind the mfeflow CLI: project model, change plans with diffs, atomic apply with rollback, and feature resolution.

Readme

@mfeflow/core

Part of mfeflow, the React micro-frontend boilerplate and platform kit.

The engine behind the mfeflow CLI: loads and saves mfeflow.json, plans a change as data with a unified diff, applies it atomically with rollback, and resolves features. Pre-1.0: minor versions may change the API. Most people want the mfeflow CLI instead.

pnpm add @mfeflow/core

Docs: mfeflow.github.io/mfeflow.

MIT licensed.

What a third-party feature may do

A feature from a namespaced registry (@someone/name) is untrusted. It is declarative only and is checked against allowlists when it is loaded and again when it is resolved into a plan. It can never cause code to run on apply, install, commit or the next mfeflow command.

  • Files and transforms write only under src/, public/ or docs/ of the target, with plain lower-case ASCII names. Root files, dot folders, package manager config (package.json, lockfiles, .npmrc, .yarnrc*, .pnpmfile.*, pnpm-workspace.yaml), git hook managers, test and tool config files and the local features/ folder are refused. Paths are compared after Unicode (NFC) and case folding, and names with trailing dots or spaces, :, invisible characters or Windows device names are refused for every feature.
  • Scripts are lower-case words joined by : and start with the feature's own name (segment:check for @acme/segment), so build, lint:* and other runners never pick them up. Lifecycle events, pnpm:, npm:, yarn: and bun: prefixes and every pre or post name are refused.
  • Dependencies take a semver range or a dist-tag. file:, link:, git, URLs, npm: aliases, workspace: and catalog: are refused.
  • Imports name a package, a relative path or an @/ alias, never a URL.
  • add-env-key schema text must be a call chain on z, v or type with literal arguments; the plan writes it re-emitted from the parsed tree. Because .env.example and root env.ts are outside the allowlist, third parties can add runtime-config keys (under src/ and public/) but not dotenv examples.
  • add-workflow-step is refused: third-party features cannot edit CI.

For every feature, first-party included: a script or dependency that already exists with another value is an E207 conflict in the plan, never an overwrite; a first-party CI change shows as a warning in the plan summary; and applyPlan checks that every target resolves, symlinks included, to inside the project before writing anything. Its rollback restores files by temp file and rename, and after a failed install it also puts back package.json, the workspace file and the lockfiles the install touched (node_modules is not rolled back).