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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@sedona-cms/blocks

v1.0.16

Published

Block editor for Sedona CMS

Downloads

7

Readme

Table of Contents

About the project

Block editor for Sedona CMS

Built With

Getting Started

Prerequisites

Setup

  1. Add and setup @sedona-cms/core. Setup instructions

  2. Add @sedona-cms/blocks dependency to your project

npm i @sedona-cms/blocks # or yarn add @sedona-cms/blocks
  1. Add @sedona-cms/blocks to the modules section of nuxt.config.js

  2. Create required directories (Will be fixed):

    1. ~/admin/props – custom prop editors
    2. ~/components/blocks– block components

Usage

Built-In Prop Editors

  1. Text
  2. Textarea
  3. Checkbox
  4. Number
  5. Date
  6. Wysiwyg

Create own prop editor

A prop editor is a simple Vue component. All custom editors should be saved in ~/admin/props directory.

In a prop, the editor component can use Quasar components.

Step by step guide

  1. Create a Vue component in ~/admin/props directory
  2. Add required props: title and value
  3. The title prop can have an empty default value
  4. The value prop will fill data from the editor
  5. For updating data in the editor send change event

Example:

<template>
  <q-field :label="title" outlined stack-label dark>
    <template v-slot:control>
      <div class="self-center full-width no-outline" tabindex="0">
        <select v-model="color" class="full-width text-black">
          <option value="red">Red</option>
          <option value="green">Green</option>
          <option value="blue">Blue</option>
        </select>
      </div>
    </template>
  </q-field>
</template>

<script>
  export default {
    name: 'Color',
    props: {
      title: {
        type: String,
        default: '',
      },
      value: {
        type: String,
        required: true,
      },
    },
    data() {
      return {
        color: this.value,
      }
    },
    watch: {
      color(value) {
        this.$emit('change', value)
      },
    },
  }
</script>

Development

  1. Install dependencies
npm ci
  1. Link the package in which it is run
npx npm-self-link
  1. Run watch process
npm run watch
  1. Run nuxt project from dev directory
npm run dev