The 'edgar' package (v0.0.0) provides a JavaScript/TypeScript API for accessing the SEC EDGAR database, enabling retrieval of company filings, financial statements, and metadata. It is an early-stage release with no stable release yet, and the API may change frequently. Key differentiators include a promise-based interface and minimal dependencies. No release cadence established.
npm install edgarNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fetches the most recent 10-K filing for Apple (AAPL) using the default export.
Use import { getFilings } from 'edgar' instead of default import.Pin to a specific version and expect breaking changes.
Run 'npm install edgar' and ensure import path is correct.
Use 'import { getFilings } from 'edgar'' instead of require.No dependency data recorded yet.