Socket
Socket
Sign inDemoInstall

serverless-triggers

Package Overview
Dependencies
102
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-triggers

serverless-triggers CLI


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

robsonalvesbh

serverless-triggers

serverless-triggers is a CLI to generate event payloads to help you simulate AWS tool triggers (like SQS, SNS, S3, and others) to test your lambdas locally.

CLI

serverless-triggers --help

?> Tip you can use sls-triggers or slst as alias.

Install

It is recommended to install serverless-triggers globally:

Install via Yarn
yarn global add serverless-triggers 
Install via NPM
npm i -g serverless-triggers 

Initialize

serverless-triggers init

This command will create the tests/payloads folder and create an example payload file:

{
  "template": "sqs",
  "payloads": [
    {
      "name": "Serverless Triggers"
    }
  ]
}

How to use

Read the Usage Guide on our website for detailed instructions on how to use Serverless Triggers CLI.

Templates availabes

Check the templates available on the Templates Page

Documentation

Website

License

MIT - see LICENSE

Keywords

FAQs

Last updated on 29 Jul 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc