FMP Node API Documentation
Helper Utilities
The FMP Node Wrapper includes a comprehensive set of helper utilities to enhance your development experience, provide better error handling, and simplify common financial data processing tasks.
Available Helper Categories
API Exploration Helpers (FMPHelpers
)
Discover and explore the available API methods at runtime.
Validation Helpers (FMPValidation
)
Validate parameters and API responses with comprehensive error checking.
Utility Helpers (FMPUtils
)
Format and process financial data with common utilities.
Debug Helpers (FMPDebug
)
Enhanced debugging and development tools.
Environment Variables
The debug helpers support the following environment variables:
FMP_DEBUG=true
- Enable debug modeNODE_ENV=development
- Enable development logging
Error Handling with Helpers
Combine validation and error handling for robust applications:
Batch Processing Example
Use utilities for efficient batch processing:
Best Practices
- Use validation helpers to catch errors early and provide better error messages
- Format data consistently using utility helpers for better user experience
- Enable debug mode during development for better troubleshooting
- Use batch processing for multiple API calls to respect rate limits
- Implement retry logic for transient failures using retry helpers
Type Safety
All helper utilities are fully typed and provide excellent TypeScript support:
The helper utilities enhance the FMP Node Wrapper with powerful tools for validation, formatting, debugging, and API exploration while maintaining the library's TypeScript-first approach.
Documentation
Quotes
Information
Resources
Helper Utilities
The FMP Node Wrapper includes a comprehensive set of helper utilities to enhance your development experience, provide better error handling, and simplify common financial data processing tasks.
Available Helper Categories
API Exploration Helpers (FMPHelpers
)
Discover and explore the available API methods at runtime.
Validation Helpers (FMPValidation
)
Validate parameters and API responses with comprehensive error checking.
Utility Helpers (FMPUtils
)
Format and process financial data with common utilities.
Debug Helpers (FMPDebug
)
Enhanced debugging and development tools.
Environment Variables
The debug helpers support the following environment variables:
FMP_DEBUG=true
- Enable debug modeNODE_ENV=development
- Enable development logging
Error Handling with Helpers
Combine validation and error handling for robust applications:
Batch Processing Example
Use utilities for efficient batch processing:
Best Practices
- Use validation helpers to catch errors early and provide better error messages
- Format data consistently using utility helpers for better user experience
- Enable debug mode during development for better troubleshooting
- Use batch processing for multiple API calls to respect rate limits
- Implement retry logic for transient failures using retry helpers
Type Safety
All helper utilities are fully typed and provide excellent TypeScript support:
The helper utilities enhance the FMP Node Wrapper with powerful tools for validation, formatting, debugging, and API exploration while maintaining the library's TypeScript-first approach.