
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
A lightweight, flexible HTTP client library with request interception, automatic retry, and logging capabilities, designed for modern web applications.
A lightweight, flexible HTTP client library with request interception, automatic retry, and logging capabilities, designed for modern web applications.
npm install reqforge
const { config, utils, request } = require('reqforge');
// Get the base URL for API requests
const baseURL = config.getBaseURL();
console.log(baseURL); // https://api.example.com/v1
// Make a GET request
request.get('/users')
.then(res => res.json())
.then(data => console.log(data));
// Make a POST request
request.post('/users', { name: 'John', email: 'john@example.com' })
.then(res => res.json())
.then(data => console.log(data));
The request module provides:
sendRequest(endpoint, data, options) - Generic request methodget(endpoint, options) - GET requestpost(endpoint, data, options) - POST requestput(endpoint, data, options) - PUT requestdel(endpoint, options) - DELETE requestThe config module provides:
getBaseURL() - Get the base URL for API requestsAPI_VERSION - Current API versiondefaultConfig - Default configuration objectmergeConfig(customConfig) - Merge custom configuration with defaultsThe utils module provides:
buildURL(baseURL, params) - Build URL with query parametersserializeQuery(obj) - Serialize object to query stringparseQuery(queryString) - Parse query string to objectdeepMerge(target, source) - Deep merge objectsisPlainObject(value) - Check if value is a plain objectdelay(ms) - Delay executionMIT
FAQs
A lightweight, flexible HTTP client library with request interception, automatic retry, and logging capabilities, designed for modern web applications.
The npm package reqforge receives a total of 1 weekly downloads. As such, reqforge popularity was classified as not popular.
We found that reqforge 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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.