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

@bogunoz/simplify

v0.1.0

Published

Reactive form engine & modular UI components – MobX powered, Tailwind + Radix + Shadcn inspired

Readme

Simplify

Simplify is a reactive, data-driven UI engine built on MobX, enabling rapid form and component composition using declarative field configurations and dependency logic. It abstracts away manual UI wiring: you describe your form in plain data as a repository object and Simplify generates the UI.

Simplify is built on MobX, so it offers full reactivity: any change in the underlying data instantly updates the UI. For example, if one field depends on another (say, a “Can Vote?” checkbox appears only when age >= 18). Simplify lets you express that dependency in the config, and MobX’s observable/computed system keeps everything in sync. In other words, whenever the data changes, the appropriate parts of the UI update automatically

Key Features

  • Declarative Schemas: Define your entire form or component layout in one simple configuration, not in imperative code. Simplify reads this schema and instantiates fields and components accordingly.
  • Reactive State Management: Built on MobX, so your UI stays up-to-date with minimal code. As noted by RisingStack, MobX “allows React components to update automatically when the data they depend on changes”. Simplify leverages this for real-time updates (cf. “MobX-powered reactivity”).
  • Dependency Logic: Fields can declare dependencies on others. For example, a field can include a visibleWhen or dependsOn rule so it only appears when certain conditions are met. Simplify listens to those dependencies reactively and updates the form automatically.
  • Rapid Composition: You can quickly assemble complex forms by merging or reusing field configurations. Simplify handles the layout and data flow, letting you focus on high-level design.
  • Minimal Boilerplate: No need for manual event handlers or state wiring. Simplify’s like “JSON-first” engine means you focus on what the form is, not how it works internally. This leads to “Less Code, Fewer Bugs” because the data model and UI are loosely coupled.

Usage Example

Here’s a simple example of defining a form with fields and a dependency. The schema below declares three fields: First Name, Age, and Is Adult?. The isAdult field only appears when age >= 18.

registeredFields = {
    firstName = "firstName",
    age = "age",
    isAdult = "isAdult",
}

const fields = createFieldPlaceholders(registeredFields, text.form);

field.firstName.fieldType = BaseFieldTypesEnum.Input;

field.age.fieldType = BaseFieldTypesEnum.Input;

field.isAdult.fieldType = BaseFieldTypesEnum.CheckBox;
field.isAdult.dependencies = [
    { fieldId: registeredFields.age, events: [(target: string, master: string, store: BaseStore) => {
          const field = store.fields[target];
          const value = store.getFieldValue(master);

          field.render = value < 18;
    ] },
]

export const form = buildFields(fields);

You can also attach validation or other operations to a field, which are automatically managed by the engine.

// Simple intager validator
field.age.validators = [isInteger]

In this example, we define two simple fields (First Name and Age) and a dependent checkbox (Is Adult). Simplify automatically generates the corresponding UI. Thanks to MobX reactivity, when the Age field goes above 18, the Is Adult checkbox appears (and hides otherwise) without any additional code. This demonstrates how declarative configs and automatic dependency logic work together to keep the UI in sync. The examples above only scratch the surface. Simplify provides a wide range of advanced capabilities for building fully dynamic, reactive UIs.

Architecture

Under the hood, Simplify builds a MobX-powered data model from your schema. Each field is represented by a MobX observable (or computed) value, and the rendered UI components bind to those values. This is similar to an MVVM pattern: the “view” (React component) automatically reflects the state of the “view-model” (MobX store) without manual updates. As one author explains, MobX “provides automatic observing and computed” values, enabling seamless reactive UIs.

Because Simplify uses MobX’s core mechanisms, updates happen synchronously and efficiently. When any piece of data changes, MobX triggers only the necessary re-renders, so your form stays consistent in real time. The declarative schema is parsed into this reactive state at initialization, meaning you rarely write imperative code. As a result, your app logic lives alongside your data definitions (not tangled in UI code), echoing the idea of separating logic and UI to reduce complexity.