
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
okx-api-node-client
Advanced tools
Node.js connector for the OKX APIs and WebSockets:
npm install okx-api-node-client
Most methods accept JS objects. These can be populated using parameters specified by okx's API documentation, or check the type definition in the rest-client class methods.
Create API credentials at okx
data
property is directly (without the code
, data
& msg
properties).code
and msg
properties). See the interface for APIResponse.This connector includes a high-performance node.js & typescript websocket client for the OKX public & private websockets.
ts-node examples/ws-private.ts
import { ... } from 'okx-api-node-client'
to const { ... } = require('okx-api-node-client');
ws-private.js
node examples/ws-private.js
Build a bundle using webpack:
npm install
npm build
npm pack
The bundle can be found in dist/
. Altough usage should be largely consistent, smaller differences will exist. Documentation is still TODO.
FAQs
Node.js connector for OKX market REST APIs and WebSockets
The npm package okx-api-node-client receives a total of 13 weekly downloads. As such, okx-api-node-client popularity was classified as not popular.
We found that okx-api-node-client 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.