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

form-render-snippets

v1.1.1

Published

quick way to write form-render schema

Readme

FormRender snippets

快速撰写 FormRender的模板的利器。

如图,在 .json 文件中输入关键词 fr 即可查阅所有的快捷 snippets。其中 fr-init 会生成如下的骨架:

{
  "type": "object",
  "properties": {},
  "required": []
}

然后在骨架中使用元素 snippets 撰写所有的表单项吧,例如需要一个列表则使用 fr-list ,如果需要下拉单选框则使用 fr-select ,等等。

snippets 基本分为三类:

  1. 生成一个表单元素的 schema (例如输入框,多选框,列表,对象)
  2. 生成部分常用选项的 schema(例如 ui:options, ui:width, format 等)
  3. 生成骨架和 demo。fr-init 生成骨架,fr-demo 生成一个包含所有可用组件以及一个联动显隐的样例

注意不需要输入完整的 fr-number-complex 来唤起一个 snippet 哦,只需要输入 number 或者甚至 fnc 就能智能联想了。