
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
JavaScript interface to IEX Cloud
Please subscribe to IEX Cloud using this referral code.
Install from npm
npm install --save iexjs
iexjs
can run in the browser via native fetch
and eventsource
, or from node via cross-fetch and eventsource.
iexjs
supports the IEX Cloud api through 2 interfaces. The first is a simple function call, passing in the api version and token as arguments
const {chart} = require("iexjs");
chart("AAPL", "1m", token, version).then((res) => {
console.log(res);
});
Since the token rarely changes, we have a Client
object for convenience:
const {Client} = require("iexjs");
const client = new Client({api_token: "YOUR_TOKEN_HERE", version: "v1"});
client.chart("AAPL", "1m").then((res) => {
console.log(res);
});
The client will automatically pick up the API key from the environment variable IEX_TOKEN
, or it can be passed as an argument. To use the IEX Cloud test environment, simple set version: 'sandbox'
.
iexjs
provides wrappers around both static and SSE streaming data. Implemented methods are provided in CATALOG.md.
This software is licensed under the Apache 2.0 license. See the LICENSE and AUTHORS files for details.
FAQs
JS interface to IEX and IEX Cloud APIs
The npm package iexjs receives a total of 79 weekly downloads. As such, iexjs popularity was classified as not popular.
We found that iexjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Company News
Socket is bringing best-in-class reachability analysis into the platform — cutting false positives, accelerating triage, and cementing our place as the leader in software supply chain security.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.