
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@toruslabs/http-helpers
Advanced tools
This module is distributed in 3 formats
lib.esm build dist/lib.esm/index.js in es6 formatlib.cjs build dist/lib.cjs/index.js in es5 formatumd build dist/httpHelpers.umd.min.js in es5 format without polyfilling corejs minifiedBy default, the appropriate format is used for your specified usecase You can use a different format (if you know what you're doing eg. node) by referencing the correct file
CDN's serve the non-core-js polyfilled version by default. You can use a different
jsdeliver
<script src="https://cdn.jsdelivr.net/npm/@toruslabs/http-helpers"></script>
unpkg
<script src="https://unpkg.com/@toruslabs/http-helpers"></script>
Add @toruslabs/http-helpers to your project:
import { get, post } from "@toruslabs/http-helpers";
const { get, post } = require("@toruslabs/http-helpers").default;
@babel/runtimeAxios is a popular promise-based HTTP client for the browser and Node.js. It provides a more comprehensive set of features for making HTTP requests, including interceptors, request cancellation, and automatic JSON data transformation. Compared to @toruslabs/http-helpers, Axios offers a broader range of functionalities and is widely used in the community.
Node-fetch is a lightweight module that brings `window.fetch` to Node.js. It is a simple and minimalistic library for making HTTP requests. While @toruslabs/http-helpers provides additional utilities for error handling and response processing, node-fetch focuses on providing a fetch API implementation for Node.js environments.
FAQs
http helpers
The npm package @toruslabs/http-helpers receives a total of 85,855 weekly downloads. As such, @toruslabs/http-helpers popularity was classified as popular.
We found that @toruslabs/http-helpers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.