Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
xendit-node
Advanced tools
The official Xendit Node SDK provides a simple and convenient way to call Xendit's REST API in applications written in Node.
Node 16.0 and later.
npm install xendit-node@latest --save
TypeScript support is included in this package.
The SDK needs to be instantiated using your secret API key obtained from the Xendit Dashboard. You can sign up for a free Dashboard account here.
import { Xendit } from 'xendit-node';
const xenditClient = new Xendit({
secretKey: SECRET_API_KEY,
})
By default, the SDK will use the Xendit production URL (https://api.xendit.co
) to make API requests.
If you need to override the default Xendit URL, you can pass in a custom URL to the Xendit
constructor.
const xenditClient = new Xendit({
secretKey: SECRET_API_KEY,
xenditURL: 'https://mock-server.localhost:3000',
})
Find detailed API information and examples for each of our product’s by clicking the links below,
Further Reading
FAQs
OpenAPI client for xendit-node
The npm package xendit-node receives a total of 3,282 weekly downloads. As such, xendit-node popularity was classified as popular.
We found that xendit-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.