JSPM

@jeanmc/finnhub-sdk

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q31775F
  • License MIT

A generated SDK for FinnhubAPI.

Package Exports

  • @jeanmc/finnhub-sdk
  • @jeanmc/finnhub-sdk/dist-esm/index.js
  • @jeanmc/finnhub-sdk/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jeanmc/finnhub-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Finnhub API client library for JavaScript

NPM Version NPM Downloads

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Finnhub API client.

Getting started

Currently supported environments

See the support policy for more details.

Install the @jeanmc/finnhub-sdk package

Install the FinnhubApi client library for JavaScript with npm:

npm install @jeanmc/finnhub-sdk
const client = new FinnhubAPI()

client.pipeline.addPolicy({
    name: 'add-api-key',
    sendRequest(req, next) {
        req.headers.set('X-Finnhub-Token', '')
        return next(req)
    },
})

JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to the bundling documentation.

For more information about the Finnhub API, please visit: