
Company News
Meet the Socket Team at RSAC and BSidesSF 2026
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.
min-request
Advanced tools
Simple request, For people who cannot understand [request](https://github.com/request/request) like me to use http request
Simple request, For people who cannot understand request like me to use http request
npm install min-request
Support body types
request(url, [options], callback)
callback param is just like request@request: err, res, body
Simplest
var request = require('min-request')
request('localhost:8080/test', function(err, res, body) {
console.log(err, body)
})
Request with data like json, stream
var request = require('min-request')
// json
request('localhost:8080/upload', {
method: 'POST',
body: {foo: 'bar'}
},function(err, res, body) {
// ...
})
// stream
var fs = require('fs')
request('localhost:8080/upload', {
method: 'POST',
body: fs.createReadStream('./foo.bar')
}, function(err, res, body) {
// ...
})
use NODE_DEBUG=request to show request options
ISC
FAQs
Simple request, For people who cannot understand [request](https://github.com/request/request) like me to use http request
We found that min-request 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.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.

Research
/Security News
OpenVSX releases of Aqua Trivy 1.8.12 and 1.8.13 contained injected natural-language prompts that abuse local AI coding agents for system inspection and potential data exfiltration.