aws_eb_message_severity

0.0.3 • Public • Published

aws_eb_message_severity

Build Status npm version devDependencies Status

A classifier of AWS Elastic Beanstalk message by severity level.

Synopsis

import SeverityClassifier from 'aws_eb_message_severity';
 
const isDanger = SeverityClassifier.isDangerMessage('message');
const isWarning = SeverityClassifier.isWarningMessage('message');

Methods

.isDangerMessage(msg: string): bool

Returns whether the given message is a danger or not.

.isWarningMessage(msg: string): bool

Returns whether the given message is a warning or not.

Properties

.dangerMessages

Returns a list of messages that are treated as the danger.

.warningMessages

Returns a list of messages that are treated as the danger.

Disclaimer

This is alpha quality. Probably sentence coverage is not perfect.

Author

moznion (moznion@gmail.com)

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i aws_eb_message_severity

Weekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • moznion