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

danawa-cli

v3.0.0

Published

다나와 가격비교 상품 검색 CLI — AI 에이전트 친화적 설계 (Agent DX)

Readme

danawa-cli

다나와 가격비교 상품 검색 CLI — AI 에이전트 친화적 설계 (Agent DX)

Node.js Zero Dependencies Agent DX License: MIT

설치

npm install -g danawa-cli

또는 npx로 바로 실행:

npx danawa-cli search "노트북"

사용법

검색

# 기본 검색 (JSON 출력)
danawa search "노트북"

# 인간용 테이블 출력
danawa search "노트북" --format table

# 필드 선택 (토큰 절약)
danawa search "노트북" --fields productName,minPrice

# 가격 필터 + 정렬
danawa search "노트북" --min-price 1000000 --sort rating --format table

배치 검색

# 5페이지 배치 수집
danawa batch "마우스" --pages 5

# NDJSON 스트리밍 (한 줄에 한 상품)
danawa batch "마우스" --pages 3 --format ndjson | head -10

스키마 자체검사

danawa schema search    # 검색 스키마
danawa schema           # 전체 목록

HTTP API 서버

danawa serve --port 3000

# GET /api/search?q=노트북&page=1&fields=productName,minPrice
# GET /api/search/batch?q=마우스&pages=5
# GET /api/schema?resource=search

Agent DX

Agent DX 원칙에 따라 AI 에이전트를 주요 소비자로 설계되었습니다.

| 원칙 | 구현 | |------|------| | JSON-First Output | JSON 기본, --format table/compact/ndjson | | Raw Payload | --json-body, --params | | Schema Introspection | danawa schema search | | Input Hardening | 제어문자, 유니코드, 이중인코딩 거부 | | Context Discipline | --fields, --limit, 페이지네이션 | | Safety Rails | --dry-run, config 마스킹 | | Skill Files | SKILL.md 제공 |

Exit Codes

| 코드 | 의미 | |------|------| | 0 | 성공 | | 1 | 오류 |

프로그래매틱 사용

import { searchDanawa, searchDanawaBatch } from "danawa-cli";

const result = await searchDanawa({ query: "노트북", page: 1, limit: 10 });
console.log(result.items);

License

MIT