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

@yuexiaoliang1993/essh

v0.0.6

Published

[English](./README.md) | 简体中文

Readme

essh

English | 简体中文

一个简洁的服务器 SSH 配置管理 CLI 工具。

功能特性

  • 🔐 使用 age 加密保护私钥
  • 📦 配置与工具分离,支持团队协作
  • 🚀 快速连接服务器,无需记住 IP 和密钥路径
  • 📝 交互式管理服务器配置

安装

npx @yuexiaoliang1993/essh <command>

或全局安装:

npm install -g @yuexiaoliang1993/essh
essh <command>

快速开始

1. 初始化配置

essh init

按提示输入私有配置仓库地址和密码。

2. 解密密钥

essh setup

3. 连接服务器

# 交互式选择
essh connect

# 直接连接指定服务器
essh connect <name>

命令列表

| 命令 | 描述 | |------|------| | essh init | 初始化配置,克隆私有仓库 | | essh setup | 解密密钥并配置 SSH | | essh connect [name] | 连接服务器 | | essh list | 列出所有服务器 | | essh add | 添加新服务器(交互式) | | essh remove [name] | 删除服务器 | | essh encrypt | 重新加密并推送到仓库 |

配置仓库结构

私有仓库应包含以下文件:

essh-config/
├── servers.json      # 服务器列表
├── keys/
│   ├── server1.key.age   # 加密后的私钥
│   └── server2.key.age
└── .gitignore

servers.json 格式

{
  "servers": [
    {
      "name": "home",
      "host": "192.168.1.100",
      "user": "admin",
      "port": 22,
      "key": "keys/home.key.age",
      "label": "家里服务器"
    }
  ]
}

环境变量

# 通过环境变量提供密码(适合自动化脚本)
export ESSH_PASSWORD="your-password"
essh setup

License

MIT