serverless-plugin-utils

Downloads Version License

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

FunctionDescription
lowerConverts a string to its lowercase representation
upperConverts a string to its uppercase representation
ternaryPerforms equality check and returns a defined result
joinJoins a collection of values with a given delimiter
splitSplits a string value on a given delimiter
switchPerforms switch-statement lookups
capitalizeConverts a string to its Titlecase representation