@kevin.eu/kevin-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Kevin CLI

Kevin CLI is a command-line interface that allows you to easily interact with webhooks. You can send signed webhooks to an endpoint with either a specified payload or a randomly generated one. We would appreciate any feedback or suggestions on how we can further enhance this tool to bring added value to your projects.

To install the dependencies, run the following command:

npm install

Usage

Send a webhook

To test your webhook flow without exposing your listener, we recommend using a tool like webhook.site. To send a webhook, run the following command and specify your endpoint secret as a parameter:

npx kevin send https://example.com --secret=mysecret   

Replace https://example.com with the URL of your webhook endpoint, mysecret with your endpoint secret. The payload will be picked up randomly.

npx kevin send https://webhook.site/70bcc8d6-e68b-4913-b60a-ed102b9f9a28 --secret=576768879797hfjjfjf

You can also use a custom payload by replacing the payload argument with a JSON-formatted string. For example:

npx kevin send https://webhook.site/70bcc8d6-e68b-4913-b60a-ed102b9f9a28 --secret=576768879797hfjjfjf '{"id":"asd123dfgh","bankStatus":"ACSP","statusGroup":"STRD","type":"payment"}'

Who do I talk to?

If you have any questions or issues, please reach out to the developer for assistance.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    1
    • latest

Version History

Package Sidebar

Install

npm i @kevin.eu/kevin-cli

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

32.7 kB

Total Files

11

Last publish

Collaborators

  • adam.kevin
  • msuchacz
  • skoniarek
  • kevin-devops