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

@monei-js/serverless-analyze-bundle-plugin

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monei-js/serverless-analyze-bundle-plugin

A Serverless plugin to analyze the bundle of a lambda function.

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Serverless analyze bundle plugin

A Serverless plugin to analyze the bundle of a lambda function.

Prerequisites 📓

  1. Use serverless-esbuild to bundle your functions
  2. Only individually bundled functions can be analyzed

Usage 📦

Install with

pnpm add -D serverless-analyze-bundle-plugin

Add serverless-analyze-bundle-plugin to your serverless plugins.

Run the following command to analyze a function:

serverless package --analyze myFunctionName

Options 🛠

--analyze

The name of the function to analyze.

--template

The bundle template to use. Should be one of sunburst, treemap, network. Defaults to treemap.

Using the CDK instead of the Serverless Framework? 🤔

No worries! Check out my library cdk-bundle-analyzer that does the same thing for the CDK 🚀

FAQs

Package last updated on 17 Sep 2024

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