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

editor-plugin

v0.0.30

Published

## Setting up local environment

Readme

Builder.io Editor Plugins for Mira

Setting up local environment

  1. Clone this repo to your local
  2. Run npm i && npm run start
  3. Go to beta.builder.io and create a new org called something like Mira Local Chris using your first name.
  4. Navigate to Account > Organization > Plugins and set it to http://localhost:1268/plugin.system.js

Development tips

Updating models

In builder.io when you create or update the fields of a data model, you need to copy that configuration to code.

  1. In the browser, on the model edit page, run JSON.stringify(builder.editingModel.fields, null, 2) (or JSON.stringify(builder.editingModel.toJSON(), null, 2) to see the full model)
  2. Copy the fields array to the models.json file, under a key that is the name of the model.
  3. Visit https://beta.builder.io/apps/mira/update-models to update your db from the JSON.

Context Examples

  • Permissions check: context.user.can('editCode')
  • Current content being edited: context.designerState.editingContentModel
  • Edit content (pass in either json or a content object): context.content.update(theContent) or context.createContent('my-model', theContent)
  • soft delete: context.content.update({...content, published: 'archived'})
  • permanent delete(NOTE: PLEASE DO NOT USE THIS): context.content.remove({id: 'content-id'})
  • Update preview URL: context.designerState.editingContentModel.previewUrl = '…'

Creating/Updating models with reference model fields manually in different env

  1. copy the fields of the model by going to the dev org(where the model originally is created) and copy to clipboard all the fields using this in console builder.copyToClipboard(JSON.stringify(builder.editingModel.fields))
  2. Create the model/reference model with the correct model name from the UI in the environment you want.
  3. update all reference model fields with the corresponding model id of that environment(created above)
  4. replace the fields using this in concole  builder.editingModel.fields.replace(paste fields from step 1) Note: we will be automating dependent field updates.

UI React Component Guide

https://wiki-berlin.global.umusic.net/wiki/display/OCP/UI+React+Component+Guide