Shared TypeScript types for FMP Node Wrapper ecosystem (internal package)
npm install fmp-node-typesInternal package - Shared TypeScript types for the FMP Node Wrapper ecosystem.
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.
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:
``bash`
npm install fmp-node-apior
yarn add fmp-node-apior
pnpm add fmp-node-api
`typescript
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
};
`
- APIResponse - Base API response wrapperFMPConfig
- - Configuration interfaceSymbolParams
- - Symbol-based parametersDateRangeParams
- - Date range parametersPaginationParams
- - Pagination parametersPeriodParams
- - Period parameters (annual/quarter)
- Quote - Unified quote data structureHistoricalPriceData
- - Historical price dataHistoricalPriceResponse
- - Historical price response
- IncomeStatement - Income statement dataBalanceSheet
- - Balance sheet dataCashFlowStatement
- - Cash flow statement dataFinancialRatio
- - Financial ratiosEarnings
- - Earnings data
- CompanyProfile - Company informationExecutive
- - Executive dataEmployee
- - Employee information
- MarketIndex - Market index dataSectorPerformance
- - Sector performance data
This package is part of the FMP Node Wrapper monorepo. To contribute:
1. Clone the repository
2. Install dependencies: pnpm installpnpm build
3. Build the package: pnpm test`
4. Run tests:
MIT