
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
To install Whizz:
npm install whizz
# or
yarn add whizz
# or
pnpm install whizz
Here are some examples of how to use Whizz:
import whizz from 'whizz';
async function fetchData() {
const response = await whizz.get('https://jsonplaceholder.typicode.com/posts/1', { secure: true, timeout: 2000 });
const data = response.json();
console.log(data);
}
fetchData();
import whizz from 'whizz';
async function postData() {
const response = await whizz.post('https://jsonplaceholder.typicode.com/posts', {
title: 'foo',
body: 'bar',
userId: 1,
}, { secure: false });
const data = response.json();
console.log(data);
}
postData();
get(url: string, options?: RequestOptions): Promise<Response>Makes a GET request to the specified URL.
post(url: string, data: any, options?: RequestOptions): Promise<Response>Makes a POST request to the specified URL with the provided data.
put(url: string, data: any, options?: RequestOptions): Promise<Response>Makes a PUT request to the specified URL with the provided data.
delete(url: string, options?: RequestOptions): Promise<Response>Makes a DELETE request to the specified URL.
patch(url: string, options?: RequestOptions): Promise<Response>Makes a PATCH request to the specified URL.
head(url: string, options?: RequestOptions): Promise<Response>Makes a HEAD request to the specified URL.
options(url: string, options?: RequestOptions): Promise<Response>Makes an OPTIONS request to the specified URL.
trace(url: string, options?: RequestOptions): Promise<Response>Makes a TRACE request to the specified URL.
connect(url: string, options?: RequestOptions): Promise<Response>Makes a CONNECT request to the specified URL.
Contributions are welcome! Please read the contributing guidelines for more information.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
Hyper fast nodejs webserver and fetcher
We found that whizz demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.