@jeanmc/finnhub-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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:

Package Sidebar

Install

npm i @jeanmc/finnhub-sdk

Weekly Downloads

5

Version

1.2.0

License

MIT

Unpacked Size

1.98 MB

Total Files

31

Last publish

Collaborators

  • ymchun