fmp-node-types
v0.1.4
Published
Shared TypeScript types for FMP Node Wrapper ecosystem (internal package)
Maintainers
Readme
fmp-node-types
Internal package - Shared TypeScript types for the FMP Node Wrapper ecosystem.
Overview
This is an internal package used within the FMP Node Wrapper monorepo. It contains all TypeScript type definitions used across the FMP Node Wrapper packages.
⚠️ Important Note
This package is NOT published to npm and should NOT be installed directly by users.
All types are available through the main fmp-node-api package:
npm install fmp-node-api
# or
yarn add fmp-node-api
# or
pnpm add fmp-node-apiUsage (for end users)
import type { Quote, CompanyProfile, FinancialStatement } from 'fmp-node-api';
// Use types in your code
const quote: Quote = {
symbol: 'AAPL',
name: 'Apple Inc.',
price: 150.0,
// ... other properties
};Available Types
Common Types
APIResponse<T>- Base API response wrapperFMPConfig- Configuration interfaceSymbolParams- Symbol-based parametersDateRangeParams- Date range parametersPaginationParams- Pagination parametersPeriodParams- Period parameters (annual/quarter)
Quote Types
Quote- Unified quote data structureHistoricalPriceData- Historical price dataHistoricalPriceResponse- Historical price response
Financial Types
IncomeStatement- Income statement dataBalanceSheet- Balance sheet dataCashFlowStatement- Cash flow statement dataFinancialRatio- Financial ratiosEarnings- Earnings data
Company Types
CompanyProfile- Company informationExecutive- Executive dataEmployee- Employee information
Market Types
MarketIndex- Market index dataSectorPerformance- Sector performance data
And many more...
Development
This package is part of the FMP Node Wrapper monorepo. To contribute:
- Clone the repository
- Install dependencies:
pnpm install - Build the package:
pnpm build - Run tests:
pnpm test
License
MIT
