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

rasso-plugin-markdown-note

v1.0.1

Published

双栏实时预览 + 本地存储的 Markdown 写作工具:多文档管理、自动保存、导出 .md、打开本地 .md。

Readme

MD 写作(Rasso Plugin Markdown Note)

rasso-plugin-markdown-note · 双栏实时预览 Markdown 写作 · Rasso 官方插件

多文档管理、左编辑右预览双栏实时预览、自动保存 + 手动保存、导出 .md、打开本地 .md。纯本地隔离存储、双主题跟随启动器。

功能

  • 多文档管理:新建/列表/删除/重命名(双击或 ✎)。
  • 双栏实时预览:左编辑器右预览,输入即实时渲染(自写安全 MD 子集)。
  • 自动保存 + 手动保存:输入防抖 800ms 自动保存;Ctrl+S 或「保存」手动保存。
  • 导出 .md:sys.pickSavePath 保存对话框 + sys.fileWrite(白名单写通道:仅写用户选中路径、扩展名 .md/.txt/.json/.csv/.log、10MB 上限、审计)。
  • 打开本地 .md:sys.pickPaths + sys.readFileAsData → 载入新文档。
  • MD 渲染安全:自写轻量子集(零依赖)——标题/列表/加粗/斜体/行内与块级代码/链接/引用;全量 HTML 转义 + 仅白名单结构输出,无原始 HTML 注入面(防 XSS);链接仅 http/https,点击走宿主 shellOpenExternal(协议白名单已过评审)。
  • 本地持久化:dbStorage['rasso-md-note'] = { docs: [{ id, title, content, updatedAt }], activeId },无网络、不上云。
  • 双主题跟随:getTheme() 初始同步 + onThemeChanged 实时订阅 + 跟随/深色/浅色覆盖。
  • 退出:复用宿主左上角 ✕ 或 Esc(插件不内置退出按钮)。

使用

在 Rasso 搜索栏输入 MD 写作 / Markdown / md-note 唤起。

开发

pnpm gate   # 全量单测 + 构建 + 架构护栏(提交前必跑)
# 发布到 npm 官方源(在插件目录内)
npm publish --registry=https://registry.npmjs.org --access=public

遵循 Rasso 插件工程范式(rasso-plugin-mockup 为模板),契约见 @rasso/plugin-types。

License

MIT