1.1.11 • Published 11 months ago

webhook-store-cli v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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
1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

11 months ago

1.1.11

11 months ago

1.1.10

11 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago