Package Exports
- serverless-plugin-utils
- serverless-plugin-utils/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-plugin-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
serverless-plugin-utils
A collection of serverless framework utilities
Installation
npm install -D serverless-plugin-utils
# or
yarn add -D serverless-plugin-utils
Usage
Add the serverless-plugin-utils entry to the plugins section of your serverless file.
plugins:
- serverless-plugin-utils
Utility Usage
Function | Description |
---|---|
lower | Converts a string to its lowercase representation |
upper | Converts a string to its uppercase representation |
ternary | Performs equality check and returns a defined result |
join | Joins a collection of values with a given delimiter |
split | Splits a string value on a given delimiter |
switch | Performs switch-statement lookups |
capitalize | Converts a string to its Titlecase representation |