
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
request-it-client
Advanced tools
A stupidly simple HTTP client for Node-JS that should just work. Built-in support for cookies, JSON, and may follow up to a max of 20 redirects.
Install via NPM and require in your project. Then request it and go!
const { RequestIt } = require('request-it-client')
;(async function main () {
const res = await RequestIt.go('https://reqres.in/api/users/2')
console.log(res.body.data.first_name) // expected result: Janet
})()
class RequestItnew RequestIt(options?: RequestOptions)public options: RequestOptionspublic cookieJar: RequestItCookieJarpublic go(options?: RequestOptions | string | URL): Promise<IncomingMessage>public get(options?: RequestOptions | string | URL): Promise<IncomingMessage>public patch(options?: RequestOptions | string | URL): Promise<IncomingMessage>public post(options?: RequestOptions | string | URL): Promise<IncomingMessage>public put(options?: RequestOptions | string | URL): Promise<IncomingMessage>public delete(options?: RequestOptions | string | URL): Promise<IncomingMessage>static go(options?: RequestOptions | string | URL): Promise<IncomingMessage>static get(options?: RequestOptions | string | URL): Promise<IncomingMessage>static patch(options?: RequestOptions | string | URL): Promise<IncomingMessage>static post(options?: RequestOptions | string | URL): Promise<IncomingMessage>static put(options?: RequestOptions | string | URL): Promise<IncomingMessage>static delete(options?: RequestOptions | string | URL): Promise<IncomingMessage>interface RequestOptionsSee NodeJS docs for details.
url: string | URLcookieJar?: RequestItCookieJar | CookieJar; Support for Tough Cookie cookie jars.body?: string | Buffer | object | any[]; Raw data to send, an object or array will be JSONified.json?: object | any[]; Support for JSON data.form?: { [key: string]: string | boolean | number } Support for forms data.responseType?: 'json'; Any response will attempt to be parsed regardless of content-type.rejectBadJson?: boolean; Setting to true will throw an error on unparsable JSON.followRedirect?: boolean; Set to true by default, controls whther or not to follow redirects.maxRedirects?: number; Maximum number of redirects to follow with a hard limit of 20, defaults to 3.params?: { [key: string]: string | boolean | number }; URL parameters to pass.interface IncomingMessageSee NodeJS docs for details.
json: () => anybody: anycookieJar: RequestItCookieJarrawResponse: BufferrawBody: Bufferclass RequestItCookieJar extends CookieJarExtends tough-cookie cookie jar class.
new RequestItCookieJar(store?: Store, options?: CookieJar.Options)public findCookie(domain: string, path: string, key: string): Promise<Cookie>static fromCookieJar(cookieJar: CookieJar): RequestItCookieJarFAQs
Yet another client library for working with http/s requests.
The npm package request-it-client receives a total of 1,141 weekly downloads. As such, request-it-client popularity was classified as popular.
We found that request-it-client 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.