Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serverless-plugin-export-endpoints

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-plugin-export-endpoints

Serverless plugin to export API Gateway endpoints as json

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-44.68%
Maintainers
1
Weekly downloads
 
Created
Source

serverless-plugin-export-endpoints

Export API Gateway endpoints as json

serverless-plugin-export-endpoints is a Serverless plugin to export API Gateway endpoints as json.

Installation

npm install serverless-plugin-export-endpoints --save-dev

Example

$cd example
$sls deploy
$sls exportEndpoints
$cat endpoints.json
{
  "hello": {
  "GET": "https://your-api-gateway-endpoint.execute-api.us-east-1.amazonaws.com/dev/hello"
}
$node test.js
Go Serverless v1.0! Your function executed successfully!

Configuration

custom:
    exportEndpoints:
        path: "./endpoints.json" # optional
        serviceEndpointKey: "/^ServiceEndpoint/" # optional, regex or string

Note: serviceEndpointKey is by default provided by the Serverless AWS provider https://github.com/serverless/serverless/blob/master/lib/plugins/aws/lib/naming.js

License

This software is released under the MIT License, see LICENSE.txt.

Keywords

FAQs

Package last updated on 28 Jul 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc