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

dart-fss-cli

v0.4.9

Published

DART (금융감독원 전자공시) Open API CLI

Readme

dart-fss-cli

npm version license

CLI for the Korea FSS DART Open API (Electronic Disclosure System).

Access all 83 DART API endpoints from the command line. Designed for both humans and AI agents (Claude Code, etc.).

Demo & Examples | Agent Integration Guide | 한국어 가이드

Install

npx dart-fss-cli --help

Runs instantly without installation. For global install:

npm install -g dart-fss-cli

Setup

Get an API key from DART Open API.

export DART_API_KEY=your_api_key_here

Usage

# Look up a company (Korean name → corp_code)
dart-fss lookup "삼성전자"

# Company overview
dart-fss disclosure company --corp "삼성전자" --pretty

# Search filings
dart-fss disclosure list --corp "카카오" --from 20250101 --to 20260101

# Employee status (filtered fields)
dart-fss report employee --corp "삼성전자" --year 2025 --quarter annual \
  --fields "sexdstn,fo_bbm,sm,avrg_cnwk_sdytrn"

# Financial statements
dart-fss financial single-account --corp "SK하이닉스" --year 2025 --quarter annual --pretty

# Major shareholding
dart-fss equity major-stock --corp "네이버"

# Save to file
dart-fss disclosure company --corp "삼성전자" --output result.json

Korean company names work directly. Companies registered with English names (NAVER, LG, etc.) can also be found using Korean input.

Command Groups

| Command | Description | APIs | |---------|-------------|------| | disclosure | Filings search, company overview, documents | 4 | | report | Periodic reports (employees, executives, dividends, audit) | 28 | | financial | Financial statements, indices, XBRL | 7 | | equity | Equity disclosure (major holdings, executive ownership) | 2 | | major | Major events (capital changes, bonds, M&A, lawsuits) | 36 | | securities | Securities registration statements | 6 |

Options

| Option | Description | |--------|-------------| | --pretty | Pretty-print JSON output | | --fields <f1,f2> | Filter response fields (saves context window for agents) | | --dry-run | Validate parameters without calling the API | | --output <file> | Save result to file | | --json <params> | Pass raw API parameters as JSON | | --api-key <key> | DART API key (default: DART_API_KEY env) |

Quarter Codes

| Value | Meaning | |-------|---------| | q1 | Q1 report | | half | Semi-annual | | q3 | Q3 report | | annual | Annual report |

Agent Integration

Built for AI agents to self-discover and call endpoints:

# Discover endpoints (auto-JSON when piped)
dart-fss endpoints --json-output

# Inspect parameter schema
dart-fss schema dividend

# Validate without API call
dart-fss report dividend --corp "삼성전자" --year 2025 --quarter annual --dry-run

# Structured JSON errors
# {"error":true,"code":"013","description":"No data found","message":"..."}

Add to your CLAUDE.md to use as a tool:

## Available Tools

dart-fss-cli is installed. Use it for Korean corporate disclosure data.

- `dart-fss endpoints --json-output` — list available APIs
- `dart-fss schema <endpoint>` — get parameter schema
- `dart-fss lookup <name>` — search company by name
- Always use `--fields` to limit response size
- Example: `dart-fss report employee --corp "삼성전자" --year 2025 --quarter annual --fields "corp_name,sm"`

See AGENTS.md and DEMO.md for detailed examples.

Programmatic Usage

import { createDartProgram } from 'dart-fss-cli';

const program = createDartProgram();
await program.parseAsync([
  'node', 'dart-fss',
  'disclosure', 'company',
  '--corp', '삼성전자',
  '--pretty'
]);

License

MIT