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

@myrmidon/cadmus-profile-editor

v0.0.2

Published

Cadmus - profile editor components.

Readme

CadmusProfileEditor

This project was generated using Angular CLI version 21.2.0.

This library contains components for editing Cadmus item facets.

In Cadmus, which is a general-purpose content management, data records are named items, and each item can contain any number of parts.

Each part is a data object having any scheme, and representing a portion of the data of the item. This way the item's model is dynamically built by composing parts.

The item's facet is a configuration abstraction which tells the editor which parts can be found inside each item type. The main data models are (from @myrmidon/cadmus-core):

  • FacetDefinition: the definition of a facet: id, label, color, description, and definitions of the parts it can contain.
  • PartDefinition: the definition of a part: type ID (a unique string identifier for the part's type, like a class name), role ID (an optional string identifier used when multiple parts of the same type are used to assign to each usage a specific role), name, description, whether it is required in its item, color, group (a string used to group parts when displaying their list), sort key (a string used to sort parts within each group when displaying their list), and settings (a POJO object for settings, which is now obsoleted).

Components

The components in this library are:

  • FacetDefinitionListEditorComponent: editor for a list of facet definitions. This is the top-level component which loads and saves facets from the server. All the other components are descendant dumb components.
  • FacetDefinitionEditorComponent: editor for a facet definition.
  • PartDefinitionEditorComponent: editor for a part definition.
  • FacetEditPage: wrapper for the FacetDefinitionListEditorComponent linked to a preset route (defined in CADMUS_PROFILE_EDIT_ROUTES).