Official JavaScript/TypeScript SDK for the Edgar Lens API.
- Strongly typed models (TypeScript)
- Pagination & retries
- Works in Node.js and modern browsers
npm install @edgarlens/sdk
# or
yarn add @edgarlens/sdk
# or
pnpm add @edgarlens/sdkimport { EdgarLens } from '@edgarlens/sdk';
const client = new EdgarLens({ apiKey: process.env.EDGARLENS_API_KEY! });
const diffs = await client.diffs.get({ ticker: 'AAPL' });
console.log(diffs);See /examples for usage patterns (Node, browser, Next.js).
Follows the API's semantic versioning. Breaking API changes bump the major version.
MIT — see LICENSE.