serverless-plugin-utils
v0.2.0
Published
A collection of serverless framework utilities
Downloads
107,388
Maintainers
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 |