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

lc-r-l-c

v1.0.4

Published

* Core 新增 workspace.fileErrors 展示所有的工作区文件错误 新增 workspace.syncFiles() 手动同步所有的文件的 ast-code 信息 允许文件更新的时候不同步 ast,例如在源码模式下 优化文件解析流程,增加 isAstSynced 标记 ast-code 是否同步,增加 isError, errorMessage 展示ast解析错误 * Designer Toolbar.Item 增加 activeViews 支持配置仅在特定视图展示 * BreakCh

Readme

fix(2024-08-01): add errorMessage to File & add is AstSynced to Module

  • Core 新增 workspace.fileErrors 展示所有的工作区文件错误 新增 workspace.syncFiles() 手动同步所有的文件的 ast-code 信息 允许文件更新的时候不同步 ast,例如在源码模式下 优化文件解析流程,增加 isAstSynced 标记 ast-code 是否同步,增加 isError, errorMessage 展示ast解析错误
  • Designer Toolbar.Item 增加 activeViews 支持配置仅在特定视图展示
  • BreakChanges 模块文件的 update(code, isFormatCode) 重构为 update(code, isSyncAst),考虑到几乎没有什么情况会设置 isFormatCode=false workspace 的 updateFile(filename, code, isFormatCode) 重构为 updateFile(filename, code, isSyncAst) 原因同上

源码模式下的更新流程

fix(2024-06-18): drag-panel add resizeable & height prop

  • UI Designer 新增 DragPanel 组件高度属性,新增缩放 resizeable 属性

feat(2024-06-11): use addEventListener to bind iframe event handlers

  • Sandbox 调整沙箱事件绑定的实现,从直接在 DOM 上定义事件属性改为使用 addEventListener 注册事件回调函数。

例如,以前的事件定义类似于 iframe.contentDocument.onkeydown = handler,现在的方式改为了 iframe.contentDocument.addEventListener('keydown', handler)

调整后,可以修复和避免平台或沙箱内部的页面使用相同的方式(即 document.onkeydown = pageHandler)绑定事件时,沙箱自身 useDnd() 里的回调函数会被覆盖的问题。

fix(2024-06-11): optimize variable panel scroll ui & onCancel bug

  • Designer 变量浮层面板中,删除 Popconfirm 被遮挡 变量左侧树独立滚动 修复变量修改取消未重置到原始值

fix(2024-06-07): export usePreviewSandboxQuery & add builtin sandboxQuery

  • Designer 提供默认的 sandboxQuery 实例, 无需外部初始化 提供 usePreviewSandboxQuery,支持获取预览沙箱实例

feat(2024-06-07): event-setter & expression-setter use popover

  • Designer 表达式弹窗改为 DragPanel

feat(2024-06-06): support add components with popover

  • Core designer 新增 menuData 属性
  • UI 组件侧边栏面板增加自适应宽度 新增 ComponentsPopover 组件 新增 DragPanel组件
  • webIDE 升级至1.3.11

feat(2024-05-31): support set default active view

  • Core 新增 defaultActiveView,支持声明默认视图
const engine = createEngine({
    workspace,
    defaultActiveView: 'design'
});

fix(2024-05-30): fix core & ui bug

  • UI 修复 Setting Form Title 文本过长溢出
  • Core 修复历史记录回退数组越界 修复 prototype2code bug, 兼容 props undefined 场景 修复 代码片段 import 多余导入 bug

fix(2024-05-21): support quick set tid in settringform

  • SettingForm 支持通过 showIdentifier.getIdentifier 快捷设置tid
  • Common parseDnd 废弃 module, index 两个返回值

refactor(2024-05-20): update attribute value parsing logic

  • Core 优化属性值的解析逻辑,统一使用 {{code}} 表示用户提供的插值代码。所有用户侧的代码均需要调整到新的格式。
  • Common 移除掉 code2object,使用 core 包的 code2value 代替 移除掉 isValidObjectString -- 无效实现
  • SettingForm FormObject 支持切换到 codeSetter expressionSetter 统一命名为 codeSetter setter 注册支持,设置 type="code|value", code类型setter表示返回值需要处理为 code string code类setter无需手动返回包裹代码{code},直接返回原始的 code 即可 所有的基础 js 类型 setter 都合并到 SettingForm 中,包括 numberSetter, textSetter, boolSetter 等