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

xverse-partner-cli

v1.0.0

Published

## 简介

Downloads

2

Readme

小程序脚手架 @xverse/weapp 使用说明文档

简介

脚手架是直接拉取https://xverse-git.coding.net/p/xverse-view/d/weapp-template/git小程序模版的代码。通过命令改变appConfig.json中的字段,判断appConfig.json的字段生成对应小程序的代码。

安装

通过 npm 安装 @xverse/weapp-cli:

npm install -g @xverse/weapp-cli

使用

创建项目

在终端输入以下命令创建项目:

weapp init
? 请输入项目目录名称(app仓库下的目录名称) (xverse-project)
? 请输入项目名称(中文名) (元象xverse)
? 是否需要先获取手机号 (Y/n)

执行该命令后会出现一些问题需要回答,包括项目目录名称、项目名称(中文名),选择先获取手机号就会再进入h5之前弹出获取手机号的按钮,但是这个操作有被微信官方封禁的风险 图片

初始化项目

在创建项目后,进入项目目录,执行以下命令进行初始化:

npm install

该命令将会安装项目所需的依赖包。

启动项目

在初始化项目后,执行以下命令启动项目:

npm run dev:weapp

该命令将会启动开发环境,可以在微信开发者工具中进行预览和调试。

注意事项

  • 该脚手架需要在已安装 Node.js 和 npm 的环境下运行。
  • 该脚手架需要在已安装微信开发者工具的环境下进行开发和调试。
  • 在创建项目后,需要执行 npm install 命令安装项目所需的依赖包。
  • 在启动项目前,需要在微信开发者工具中进行项目配置。
  • 在构建项目后,需要手动将生成的代码上传到微信公众平台进行发布。