serverless-pretty-output

1.0.5 • Public • Published

Serverless Pretty Output Plugin

This plugin will pretty print any JSON in the output of a serverless command.

Installation

npm install serverless-pretty-output --save-dev

Then inside your project's serverless.yml file add following entry to the plugins section: serverless-pretty-output. If there is no plugin section you will need to add it to the file.

It should look something like this:

plugins:
  - serverless-pretty-output

This plugin uses jq to format JSON and uses '.' as the default filter. You can set your own filter with the following option in serverless.yml:

custom:
  jsonOutputFilter: ".message"

Readme

Keywords

none

Package Sidebar

Install

npm i serverless-pretty-output

Weekly Downloads

4

Version

1.0.5

License

ISC

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • cameroncooper