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

wxml-langserver

v2.0.7

Published

wxml language server implementation in nodejs

Readme

Wxml-languageserver

微信小程序 wxml 的 language server。

主要功能

  • 检查 wxml 完整性,各个节点标签名,属性,以及属性值是否满足要求
  • 支持 doHover,方便查看标签和属性 markdown 文档
  • 支持自动补全,包含标签名,属性,以及可枚举属性值
  • 验证 import 和 include 中 src 定义的文件路径

使用方法

使用 npm 安装到全局:

npm install -g wxml-langserver

启动参数:

  --stdio     Use stdio to communicate with the server, default behaviour
  --node-ipc  Use node-ipc to communicate with the server. Useful for calling
  --socket    Use a socket (with a port number like --socket=5051) to
              communicate with the server

coc.nvim 已集成本插件,推荐使用。

配置

Client 可发送 workspace/didChangeConfiguration 通知来进行配置,支持配置项:

  • complete

    • useSnippet 是否启用 snippet,默认通过 Client 声明的 snippet 支持判定
    • completeEvent 是否包含 event 补全,默认为 true

本地使用

  • clone 整个项目

    git clone https://github.com/chemzqm/wxml-langserver.git

  • 安装依赖

    yarn install

  • 执行 yarn build 编译 ts 文件

  • 执行 yarn test 运行测试

  • 执行 gulp 生成本地 markdown 文档

  • 执行 ./bin/wxml-langserver 运行服务

感谢

本项目使用了 qiu8310/minapp 提供的 component.json 以及 @miniapp/generator

本项目使用/参考了以下项目的部分代码:

项目协议

MIT