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

@rollinggo/hotel

v1.2.13

Published

RollingGo 酒店 CLI 工具 - OAuth 登录 + 酒店预订全流程

Readme

@rollinggo/hotel

RollingGo 酒店 CLI 工具,支持 OAuth 登录和完整的酒店预订流程。

安装

# 直接使用(推荐)
npx @rollinggo/hotel@latest login

# 全局安装
npm install -g @rollinggo/hotel
rgh login

命令

认证

rgh login      # OAuth 登录
rgh logout     # 退出登录
rgh whoami     # 查看登录状态

酒店工具

# 获取搜索标签
rgh hotel-tags

# 搜索酒店
rgh search-hotels \
  --origin-query "杭州西湖附近酒店" \
  --place "西湖" \
  --place-type "景点" \
  --check-in-date 2026-06-10 \
  --size 5

# 酒店详情
rgh hotel-detail \
  --hotel-id 1109562 \
  --check-in-date 2026-06-10 \
  --check-out-date 2026-06-11

# 价格确认
rgh price-confirm \
  --hotel-id 1109562 \
  --rate-plan-id "xxx" \
  --rooms 1 \
  --check-in-date 2026-06-10 \
  --check-out-date 2026-06-11 \
  --adults 2

# 创建订单
rgh book \
  --reference-no "xxx" \
  --first-name "Shan" \
  --last-name "Zhang" \
  --email "[email protected]"

# 查询订单
rgh orders

参数说明

search-hotels

| 参数 | 必填 | 说明 | |------|------|------| | --origin-query | ✅ | 用户原始查询语句 | | --place | ✅ | 地点名称 | | --place-type | ✅ | 地点类型:城市/机场/景点/火车站/地铁站/酒店/区/县/详细地址 | | --check-in-date | ❌ | 入住日期 YYYY-MM-DD | | --stay-nights | ❌ | 入住晚数 | | --adult-count | ❌ | 每间房成人数 | | --star-ratings | ❌ | 星级范围,如 4.5,5.0 | | --size | ❌ | 返回数量,默认 5 |

hotel-detail

| 参数 | 必填 | 说明 | |------|------|------| | --hotel-id | 二选一 | 酒店 ID | | --name | 二选一 | 酒店名称 | | --check-in-date | ❌ | 入住日期 | | --check-out-date | ❌ | 离店日期 |

License

ISC