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

@leettools/leet-ssl-cert

v0.1.0

Published

Automated SSL certificate provisioning and cloud deployment

Readme

leet-ssl-cert

Automate TLS certificate lifecycle for domains that terminate SSL at a cloud load balancer:

issue -> store -> upload -> bind -> renew

This is the TypeScript/npm implementation of the original Python leet-ssl-cert CLI. It preserves the YAML config shape, command names, provider identifiers, local state layout, and line-oriented command output.

Supported Providers

| Cloud | DNS | Deployers | | --- | --- | --- | | Alibaba Cloud | Aliyun DNS | CLB, ALB | | AWS | Route 53 | ACM, ELB/ALB | | GCP | Cloud DNS | HTTPS Proxy, SSL Proxy | | GCP | GoDaddy DNS | GCP Load Balancer |

Requirements

  • Node.js 20+
  • DNS control for the target domain
  • Cloud credentials for the selected provider

Install

npm install -g leet-ssl-cert

Provider SDKs are loaded only when used. Install the SDKs for your provider in the same project or global environment:

# AWS
npm install @aws-sdk/client-route-53 @aws-sdk/client-acm @aws-sdk/client-elastic-load-balancing-v2 @aws-sdk/client-elastic-load-balancing

# GCP
npm install @google-cloud/dns @google-cloud/compute google-auth-library

# Alibaba Cloud
npm install @alicloud/alidns20150109 @alicloud/slb20140515 @alicloud/alb20200616 @alicloud/cas20200407 @alicloud/openapi-client

GoDaddy DNS support uses fetch and does not need an extra SDK.

Quick Start

leet-ssl-cert init aws
leet-ssl-cert issue
leet-ssl-cert deploy
leet-ssl-cert run
leet-ssl-cert cron

The same command surface works through npx:

npx leet-ssl-cert --config ./leet-ssl-cert.yaml run
npx leet-ssl-cert run --config ./leet-ssl-cert.yaml

Commands

| Command | What it does | | --- | --- | | init <provider> | Generate a config file interactively for deployment cloud aliyun, aws, or gcp | | issue | Obtain or renew certificates via ACME DNS-01 | | deploy | Upload certs and bind them to configured load balancers | | run | issue + deploy in one step | | check | Report local certificate status | | revoke | Revoke a certificate through ACME | | cron | Print a cron line for unattended renewal |

Configuration

The CLI looks for config in this order:

  1. --config /path/to/config.yaml
  2. ./leet-ssl-cert.yaml
  3. ~/.leet-ssl-cert/config.yaml

Environment variables in ${VAR_NAME} form are resolved at load time. Startup also loads ./.env and ~/.leet-ssl-cert/.env as defaults unless LEET_SSL_CERT_DISABLE_DOTENV is truthy.

See config/example.yaml for a complete example.

Local State

Files are stored under ~/.leet-ssl-cert/ by default:

~/.leet-ssl-cert/
  account.key
  certs/
    my-site/
      my-site.key
      my-site.pem
      my-site.meta.json

Development

npm install
npm run check
npm test
npm run build