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

elves-cli

v1.0.26

Published

云函数命令行工具

Readme

coral-cli

珊瑚活动开发组件.

开发前准备

  1. 活动平台开发账号
  2. 管理员分配的项目(项目名)
  3. 安装cli
 npm install /elves-cli -g  

开发前常用命令

1、设置当前开发环境

 coral-cli set env beta/pro/local       //beta: 测试环境  pro: 生产环境  local:本地环境

2、重置当前开发环境

 coral-cli reset

3、查看当前开发环境

 coral-cli get env

4、账号登录

 coral-cli login

**创建模块,更新、保存、发布模块代码等操作都需要先登录。**登录有效期为两个小时,过期后输入密码重新登录即可。

开发时常用命令

5、初始化项目

 coral-cli init    

6、创建模块或demo

 coral-cli create             // 创建模块
 coral-cli create --demo      // 创建demo

初始化项目后,进入项目目录,使用 create 命令可以选择创建前端模块或者后端模块。

7、保存代码

 coral-cli push <module_name> [-ta, --tag-add <newTag>]       // 新建模块版本并保存代码
 coral-cli push <module_name> [-t, --tag <tag>]               // 保存代码

本地编写好代码后,使用 push 命令来保存代码。push命令须在前端(后端)模块目录下执行。 经过多次 push 命令,可形成多个模块版本。

8、发布代码

 coral-cli publish <module_name> [-t, --tag <tag>]

模块代码编写完成后,可以指定其中一个版本,使用publish发布代码。publish命令须在前端(后端)模块目录下执行。

9、拉取代码

coral-cli pull <module_name> [-t, --tag <tag>]

通过指定版本,使用pull命令拉取模块代码。

其它命令

10、查看模块的详细信息

coral-cli info <module_name>

11、查看模块的版本信息

coral-cli tag <module_name>

12、查看项目的模块列表

coral-cli list <project_name>