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

@cozeloop/ci-tools

v0.0.5

Published

🔧 Tools for Coze Loop CI

Readme

🧭 CozeLoop CI tools

npm version License: MIT

CI tools.

Quick Start

1. Installation

npm install -g @cozeloop/ci-tools

2. Usage

Command usage:

  • global command: run cozeloop-ci -h after installing @cozeloop/ci-tools
  • using npx: npx -p @cozeloop/ci-tools cozeloop-ci -h
  • Overview: cozeloop-ci -h
  • lark related: cozeloop-ci lark [send-message|sync-issue] -h

Command: cozeloop-ci lark

Using lark app id and secret to authenticate for all sub commands.

|Param|Comment|Example| |----|----|------| |LARK_APP_ID|Lark app id, secrets.LARK_APP_ID|'cli_xxx' |LARK_APP_SECRET|Lark app secret, secrets.LARK_APP_SECRET|'xxx'

1. cozeloop-ci lark sync-issue

Synchronize GitHub issue via lark, with params:

|Param|Comment|Example| |----|----|------| |REPO_NAME|repo name, github.repository|'coze-dev/cozeloop-python'| |ISSUE_ACTION|issue action, github.event.action|'opened'| |ISSUE_NUMBER|issue number, github.event.issue.number|3| |ISSUE_URL|issue html url, github.event.issue.html_url|'https://github.com/coze-dev/cozeloop-python/issues/3'| |ISSUE_TITLE|issue title, github.event.issue.title|'如何将coze智能体的数据通过cozeloop上报'| |ISSUE_BODY|issue body, github.event.issue.body|'请官方给出coze智能体上报到cozeloop的样例'|

🌰 Setup github workflow to notify via lark when issue opened, reopened or closed.

name: Issue sync

on:
  issues:
    types: ['opened', 'reopened', 'closed']
  workflow_dispatch:

jobs:
  sync:
    runs-on: ubuntu-latest
    env:
      NODE_VERSION: '18'
      LARK_APP_ID: ${{ secrets.LARK_APP_ID }}
      LARK_APP_SECRET: ${{ secrets.LARK_APP_SECRET }}
      ISSUE_ACTION: ${{ github.event.action }}
      ISSUE_NUMBER: ${{ github.event.issue.number }}
      ISSUE_URL: ${{ github.event.issue.html_url }}
      ISSUE_TITLE: ${{ github.event.issue.title }}
      ISSUE_BODY: ${{ github.event.issue.body }}
      REPO_NAME: ${{ github.repository }}

    steps:
      - name: Setup Node
        uses: actions/setup-node@v3
        with:
          node-version: ${{ env.NODE_VERSION }}

      - name: Install dep
        run: |
          npm install -g @cozeloop/ci-tools

      - name: Notification via lark
        run: |
          cozeloop-ci lark sync-issue \
          --email <email1> <email2>

2. cozeloop-ci lark sync-pr

Synchronize GitHub PR(Pull Request) via lark, with params:

|Param|Comment|Example| |----|----|------| |REPO_NAME|po name, github.repository|'coze-dev/cozeloop-python'| |PR_ACTION|pr action, github.event.action|'opened'| |PR_NUMBER|pr number, github.event.issue.number|3| |PR_URL|pr html url, github.event.pull_request.html_url|'https://github.com/coze-dev/cozeloop-python/pull/1'| |PR_TITLE|pr title, github.event.pull_request.title|'如何将coze智能体的数据通过cozeloop上报'| |PR_SENDER|pr sender, github.event.sender|'xxx'| |PR_SOURCE_OWNER|pr source owner, github.event.pull_request.head.repo.owner.login|'xxx'| |PR_SOURCE_REF|pr source ref, github.event.pull_request.head.ref|'xxx'| |PR_TARGET_OWNER|pr target owner, github.event.pull_request.base.repo.owner.login|'xxx'| |PR_TARGET_REF|pr target ref, github.event.pull_request.base.ref|'xxx'| |PR_MERGED|pr merged, github.event.pull_request.merged|'xxx'|

🌰 Setup github workflow to notify via lark when PR opened, reopened or closed.

name: PR Notification

on:
  pull_request:
    types: ['opened', 'reopened', 'closed']

jobs:
  sync:
    name: Send Lark Message
    runs-on: ubuntu-latest
    env:
      NODE_VERSION: '18'
      LARK_APP_ID: ${{ secrets.COZELOOP_LARK_APP_ID }}
      LARK_APP_SECRET: ${{ secrets.COZELOOP_LARK_APP_SECRET }}
      REPO_NAME: ${{ github.repository }}
      PR_ACTION: ${{ github.event.action }}
      PR_URL: ${{ github.event.pull_request.html_url }}
      PR_NUMBER: ${{ github.event.pull_request.number }}
      PR_TITLE: ${{ github.event.pull_request.title }}
      PR_SENDER: ${{ github.event.sender }}
      PR_SOURCE_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
      PR_SOURCE_REF: ${{ github.event.pull_request.head.ref }}
      PR_TARGET_OWNER: ${{ github.event.pull_request.base.repo.owner.login }}
      PR_TARGET_REF: ${{ github.event.pull_request.base.ref }}
      PR_MERGED: ${{ github.event.pull_request.merged }}

    steps:
      - name: Setup Node
        uses: actions/setup-node@v3
        with:
          node-version: ${{ env.NODE_VERSION }}

      - name: Install ci-tools
        run: |
          npm install -g @cozeloop/ci-tools

      - name: Notify via lark
        run: |
          cozeloop-ci lark sync-pr \
          --chat-id <oc_xxx>