New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

webhook-store-cli

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webhook-store-cli

Simple proxy to bypass CORS issues. This was built as a local dev only solution to enable prototyping against existing APIs without having to worry about CORS.

latest
Source
npmnpm
Version
1.1.11
Version published
Maintainers
1
Created
Source

Local CORS Proxy + Webhook Store

Simple proxy to bypass CORS issues. This was built as a local dev only solution to enable prototyping against existing APIs without having to worry about CORS.

This module was built to solve the issue of getting this error:

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disable

Getting Started

npx webhook-store-cli@latest

Simple Example

Start Proxy and open Webhook Store client in a tab:

npx webhook-store-cli@latest

Start Proxy and open a specific Webhook Store client:

npx webhook-store-cli@latest --webhookStore https://lol.webhook.store/

Start Proxy without opening a tab:

npx webhook-store-cli@latest --noOpen

Start Proxy to target port 9000:

npx webhook-store-cli@latest --port 9000

Start Proxy to target specific port, hostname and protocol:

npx webhook-store-cli@latest --protocol https --hostname dev.localenv --port 9000

Options

OptionExampleDefault
--webhookStorehttps://lol.webhook.store
--noOpen(no value needed)
--port90009000
--protocolhttpshttp
--hostnamedev.localenv127.0.0.1

Deploy

Bump version

npm publish --access public

Keywords

simple

FAQs

Package last updated on 01 Jun 2023

Did you know?

Socket

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.

Install

Related posts