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 🙏

© 2024 – Pkg Stats / Ryan Hefner

easyssl

v0.2.1

Published

**EasySSL** 是一个帮助在 [ZeroSSL](https://zerossl.com/) 上为 IP 地址申请 SSL 证书的命令行工具。

Downloads

4

Readme

EasySSL

EasySSL 是一个帮助在 ZeroSSL 上为 IP 地址申请 SSL 证书的命令行工具。

npx easyssl

配置证书

第一步输入需要申请的域名或 IP 地址,例如这里申请的是 39.108.124.175

第二步选择证书的有效期,例如这里选择 90 天免费版:

第三步随意:

第四步选择付费方案,例如这里选择免费方案:

接下来开始验证你对申请的域名或 IP 地址的所有权。

验证所有权

ZeroSSL 提供了两种验证方式,DNS 或 HTTP:

我们选择第二种 HTTP 验证的方式:

该方式要求使用 HTTP 协议在某目录下某验证文件:

  • 目录:例如这里是 /.well-known/pki-validation/
  • 验证文件:点击上面的 Download Auth File 链接下载,例如这里是 6E378B9A4A9D873749DEE43EE8B03F9C.txt

借助 EasySSL 在 80 端口启动 HTTP 服务器。登录服务器,执行命令 npx easyssl(命令对应的源码位于 src/bin.ts):

用浏览器种打开服务器的 IP 地址或域名,例如这里是 http://39.108.124.175

输入目录并上传刚刚下载的验证文件,点击 Submit 按钮。此时验证文件应该被正确的服务了。最后回到 ZeroSSL 点击 Verify Domain

接下来开始安装证书。

安装证书

点击 Download Cetificate (.zip) 按钮下载证书文件:

此时下载的证书已经可用,后续的步骤可以不执行。

如果想要立即确定,将下载的证书文件通过上面打开的浏览器页面上传,然后点击 Check 在 443 端口启动一个 HTTPS 服务器测试证书文件:

还可以在 ZeroSSL 中验证: