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 🙏

© 2024 – Pkg Stats / Ryan Hefner

xmmp-cli

v0.2.29

Published

xmmp-cli ========

Downloads

29

Readme

xmmp-cli

oclif Version Downloads/week License

Usage

$ npm install -g xmmp-cli
$ xmmp COMMAND
running command...
$ xmmp (-v|--version|version)
xmmp-cli/0.2.29-beta.2 darwin-x64 node-v16.13.0
$ xmmp --help [COMMAND]
USAGE
  $ xmmp COMMAND
...

Commands

xmmp admin

USAGE
  $ xmmp admin

See code: src/commands/admin.js

xmmp auto TYPE METHOD [APPID]

后门脚本,批量处理卡片和包

USAGE
  $ xmmp auto TYPE METHOD [APPID]

ARGUMENTS
  TYPE    (card|mp|env) 初始化类型:card 卡片;mp 小程序;
  METHOD  (create|update) 方式:create 初始化;update 更新;
  APPID   处理配置项中的某一个,卡片或小程序的 appId

OPTIONS
  -a, --auth=auth      [default: 1]
  -d, --domain=domain
  -i, --index=index
  -r, --remote
  -s, --search
  --config=config

See code: src/commands/auto.js

xmmp build [NAME]

📦 打包卡片

USAGE
  $ xmmp build [NAME]

ARGUMENTS
  NAME  业务卡片组件名,例如 test-6573434

OPTIONS
  -r, --reg
  -w, --widget

See code: src/commands/build.js

xmmp card NAME

🙋‍基于卡片项目创建单个卡片

USAGE
  $ xmmp card NAME

ARGUMENTS
  NAME  创建卡片项目的名称(组件名)

OPTIONS
  -l, --local   创建线下自定义组件
  -w, --widget  创建 appcube 线下开发卡片

See code: src/commands/card.js

xmmp create TYPE NAME

🏠 创建卡片或小程序模版

USAGE
  $ xmmp create TYPE NAME

ARGUMENTS
  TYPE  (card|mp|tv|mp2|card2) 创建类型,card 卡片模版;mp 小程序模版;mp2 多小程序模版;card2 卡片开发高级模版;tv
        中屏模版

  NAME  创建项目的名称

See code: src/commands/create.js

xmmp help [COMMAND]

display help for xmmp

USAGE
  $ xmmp help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

xmmp qrcode [PORT]

👍 生成小程序容器二维码,用于本地开发小程序

USAGE
  $ xmmp qrcode [PORT]

ARGUMENTS
  PORT  [default: 8080] 服务端口,默认 8080

See code: src/commands/qrcode.js

xmmp transfer [NAME] [DIR] [DIST]

将 vue 组件转换为 appcube widget

USAGE
  $ xmmp transfer [NAME] [DIR] [DIST]

ARGUMENTS
  NAME  需要转换的组件名,批量逗号分隔
  DIR   [default: src/appcube-widget] 需要转换的目录,默认为 src/appcube-widget
  DIST  [default: dist-widget] 转换后输出的目录,默认为 dist-widget

See code: src/commands/transfer.js

xmmp zip [TYPE] [ZIPNAME] [DIRPATH]

📦 打包卡片或小程序

USAGE
  $ xmmp zip [TYPE] [ZIPNAME] [DIRPATH]

ARGUMENTS
  TYPE     (xmbase|xmcard|card|mp|cmd-dir) [default: mp] 打包类型: xmbase 基础组件;xmcard 卡片sdk;card 卡片组件;mp
           小程序; cmd-dir 通用文件夹

  ZIPNAME  压缩后生成的文件名(ZIPNAME).zip

  DIRPATH  要压缩的目录(完整路径)

See code: src/commands/zip.js