Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

serverless-plugin-utils

icarus-sullivan134.1kMIT0.2.0

A collection of serverless framework utilities

serverless, plugin, utils, lower, ternary, split, join, upper, utility, serverless-plugin-utils

readme

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

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