
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@0xbeejs/requester
Advanced tools
To communicate with a WebSocket service like an RPC call, avoiding the need to manually match requests and responses in callbacks
$ npm install @0xbeejs/requester
$ yarn add @0xbeejs/requester
import Requester from "@0xbeejs/requester"
const requeter = new Requester("ws://<YOUR_ENDPOINT>")
interface ReconnectState {
reconnectAttempts: number;
requestQueue: number;
responseQueue: number;
}
const pid = process.pid;
const requester = new Requester(`<endpoint>`, {
reconnect: {
auto: true,
delay: 1000,
onTimeout: true,
},
},
);
requester.currentProvider.on('connect', () => {
console.log('Connection Established');
});
requester.currentProvider.on('close', () => {
console.log('Connection Closed');
});
requester.currentProvider.on('reconnect', (data: ReconnectState) => {
console.log(`Connection reconnect`);
});
async function start() {
// Asynchronously send message through Websocket and asynchronously retrieve the result
// The library internally establishes the correspondence between requests and responses
const data = await requester.send({req: "tx.detail", arg: {txId: "<TX_ID>"}})
return data
}
start()
FAQs
Promise based websocket client
The npm package @0xbeejs/requester receives a total of 5 weekly downloads. As such, @0xbeejs/requester popularity was classified as not popular.
We found that @0xbeejs/requester demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.