/
opt
/
canhelp
/
node_modules
/
standardwebhooks
/
/opt/canhelp/node_modules/standardwebhooks
mkdir
upload
Name
Size
Mode
Actions
dist/
-
0755
rm
package.json
1411
0644
edit
dl
rm
README.md
485
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/standardwebhooks/README.md
(485B)
Typescript/Javascript library for Standard Webhooks # Example Verifying a webhook payload: ```javascript import { Webhook } from "standardwebhooks" const wh = new Webhook(base64_secret); wh.verify(webhook_payload, webhook_headers); ``` # Development ## Requirements - node - yarn ## Building the library ```sh yarn yarn build ``` ## Contributing Before opening a PR be sure to format your code! ```sh yarn lint:fix ``` ## Running Tests Simply run: ```sh yarn test ```
Save
cmd:
run