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

lucky-ts

v0.0.10

Published

A CLI tool with SSH command support.

Downloads

11

Readme

lucky-ts

NPM Version License

lucky-ts 是一个功能强大的命令行工具,旨在简化您的日常开发工作流程。它提供了 SSH 连接管理和腾讯云轻量应用服务器(Lighthouse)的便捷操作。

功能特性

  • SSH 连接管理: 保存常用的 SSH 连接信息,并使用别名一键登录。
  • 腾讯云 Lighthouse 管理: 查询套餐价格、重启实例等。

安装

通过 npm 全局安装 lucky-ts

npm install -g lucky-ts

使用说明

SSH 连接管理

您可以使用 lucky-ts 来管理您的 SSH 连接。

lucky-ts config ssh 命令用于管理 SSH 连接配置。

1. 添加一个新的 SSH 连接

lucky-ts config ssh add <alias> <connectionString>
  • <alias>: 您为连接设置的别名 (例如, my-server)。
  • <connectionString>: SSH 连接字符串 (例如, [email protected])。

示例:

lucky-ts config ssh add my-server [email protected]

2. 列出所有已保存的 SSH 连接

lucky-ts config ssh ls

3. 使用别名进行 SSH 连接

lucky-ts ssh <alias>

示例:

lucky-ts ssh my-server

4. 删除一个已保存的 SSH 连接

lucky-ts config ssh rm <alias>

示例:

lucky-ts config ssh rm my-server

腾讯云轻量应用服务器 (Lighthouse) 管理

管理您的腾讯云 Lighthouse 实例。

lucky-ts config instance 命令用于管理 Lighthouse 实例配置。

1. 查询实例套餐价格

lucky-ts lh-price

此命令将显示不同地域的 Lighthouse 实例套餐价格。

2. 添加一个新的实例配置

为了管理实例,您首先需要添加实例的配置信息。

lucky-ts config instance add <name> <region> <instanceId>
  • <name>: 您为实例设置的别名。
  • <region>: 实例所在的地域 (例如, ap-hongkong)。
  • <instanceId>: 您的实例 ID。

3. 列出所有已保存的实例配置

lucky-ts config instance ls

4. 重启实例

lucky-ts reboot <target>
  • <target>: 您要重启的实例别名。

示例:

lucky-ts reboot my-instance

5. 删除一个实例配置

lucky-ts config instance rm <name>

贡献

我们欢迎任何形式的贡献!如果您有兴趣为 lucky-ts 做出贡献,请参阅我们的 贡献指南

许可证

本项目基于 MIT 许可证。详情请见 LICENSE 文件。