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

slate-vue3

v0.11.2

Published

slate-react library implemented with vue3

Readme

Why use it?

  1. :sparkles: Highly customizable features, use slate core at the bottom level
  2. :zap: Use vue3 for high-performance rendering, and later connect to vapor mode
  3. :coffee: The latest version of the core, design tends to be stable

How to use?

1. Install slate-vue3

npm install slate-vue3

2. Now, you can use it in vue-sfc :point_right: live demo

<script setup lang="ts">
import { Slate, Editable, } from "slate-vue3";
import { createEditor } from "slate-vue3/core";
import { withDOM } from "slate-vue3/dom";
import { withHistory } from "slate-vue3/history";

const initialValue = [
  {
    type: "paragraph",
    children: [{ text: "Let's start" }],
  },
];
const editor = withHistory(withDOM(createEditor()));
editor.children = initialValue;
</script>

<template>
  <Slate :editor>
    <Editable />
  </Slate>
</template>

Examples

To get a sense for how you might use Slate, check out a few of the examples:

If you have an idea for an example that shows a common use case, pull request it!

Documentation

This document serves only as a supplement to the slate document and mainly provides case studies and differences between slate-vue3 and slate-react

If you're using slate for the first time, check out the Getting Started walkthroughs and the Concepts to familiarize yourself with slate's architecture and mental models.

Sub packages

Due to the complexity of maintaining multiple packages and the lack of reusability of sub packages in other frameworks, slate-vue3 does not use workspace and only performs sub packaging during packaging

| Package | Version | Description | | :------------------------------------------------------- | --------------------------------------------------------------------------------: | :----------------------------------------------- | | slate-vue3/core | | slate's core data model logic. | | slate-vue3/dom | | DOM implementation of slate | | slate-vue3/history | | a plugin that adds undo/redo history to slate. | | slate-vue3/hyperscript | | a hyperscript tool to write JSX slate documents! | | slate-vue3/yjs | | integration of slate-yjs |

Contributing!

Welcome to provide suggestions on the issue, it would be even better if PR could be mentioned along with it

slate-vue3 is MIT-licensed.