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

@heejun/spa-seo-gateway-cli

v1.2.0

Published

Interactive CLI for spa-seo-gateway — init, doctor, render

Readme

@heejun/spa-seo-gateway-cli

spa-seo-gateway 의 인터랙티브 CLI. 새 프로젝트 셋업, 환경 진단, 단발 렌더를 한 명령으로.

설치 / 실행

# npm 한 번 실행
npx @heejun/spa-seo-gateway-cli init

# 또는 글로벌 설치
npm i -g @heejun/spa-seo-gateway-cli
spa-seo-gateway init     # 풀 명령
ssg init                 # alias

명령

init

인터랙티브 셋업. seo-gateway.config.json + .env 생성. 토큰 자동 생성.

npx @heejun/spa-seo-gateway-cli init

질문 항목:

  • 운영 모드 (render-only / proxy / cms / saas)
  • Origin URL
  • Admin 토큰 (Enter → 자동 생성)
  • 캐시 TTL (10분 / 1시간 / 6시간 / 24시간 / 7일)
  • Redis 활성 여부 + URL
  • 차단 리소스 타입 (image/media/font/stylesheet)
  • Hot reload 활성

doctor

환경 점검 — Node 버전 / pnpm / chromium / 포트 / 설정 / 토큰.

ssg doctor

각 항목에 대해 ✓ 정상 또는 ⚠ 권장 수정안 출력.

render <url> [options]

단발 렌더. 서버 실행 없이 한 URL 만 렌더링.

ssg render https://www.example.com/ --out result.html
ssg render https://www.example.com/m --mobile
ssg render https://www.example.com/ --ua "bingbot/2.0"
ssg render https://www.example.com/ --stdout > out.html

옵션:

  • --out <file>: 결과 HTML 을 파일로 저장
  • --stdout: 결과 HTML 을 stdout 으로 출력
  • --ua <ua>: User-Agent 지정 (기본 Googlebot)
  • --mobile: 모바일 Googlebot UA 사용

라이선스

MIT