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

lollipop-cli

v1.1.1

Published

一个用于简化 Git 操作的命令行工具,特别是针对分支合并流程的优化。

Readme

Lollipop CLI

一个用于简化 Git 操作的命令行工具,特别是针对分支合并流程的优化。

安装

npm install -g lollipop-cli
# 或
yarn global add lollipop-cli
# 或
pnpm add -g lollipop-cli

功能特点

  • 简化 Git 分支合并流程
  • 自动处理合并冲突
  • 支持本地和远程分支操作
  • 友好的命令行界面和提示

使用方法

合并命令

将当前分支合并到目标分支:

lollipop merge [目标分支]

选项

  • --reset: 重置目标本地分支(如果存在)
  • --remote: 合并到远程分支并推送
  • --auto-confirm: 自动确认,不需要二次询问

示例

# 将当前分支合并到 develop 分支
lollipop merge develop

# 将当前分支合并到 master 分支,并重置本地 master 分支
lollipop merge master --reset

# 将当前分支合并到远程 main 分支
lollipop merge main --remote

# 将当前分支合并到 release 分支,并自动确认
lollipop merge release --auto-confirm

工作流程

  1. 检查并获取最新的远程分支信息
  2. 确定目标分支(用户提供或通过交互式选择)
  3. 确认合并操作
  4. 如果需要,重置本地目标分支
  5. 切换到目标分支
  6. 执行合并操作
  7. 如果有冲突,提供冲突解决流程
  8. 如果指定了远程操作,推送更改到远程分支
  9. 切换回原始分支

开发

# 克隆仓库
git clone <仓库地址>

# 安装依赖
pnpm install

# 构建项目
pnpm build

# 本地测试
node ./dist/index.js merge

贡献

欢迎提交问题和拉取请求!

许可证

ISC