# jls-cli-alerts

> ```js const alert = require('jls-cli-alerts');

Latest version **1.0.1** (published 2021-01-04) · 0 weekly downloads

## Install

```sh
npm install jls-cli-alerts
pnpm add jls-cli-alerts
yarn add jls-cli-alerts
bun add jls-cli-alerts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-01-04 |
| First published | 2021-01-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | worldwidejamie |
| Keywords | cli-alerts, training, jamie |

## Links

- npm: https://www.npmjs.com/package/jls-cli-alerts
- npm.io page: https://npm.io/package/jls-cli-alerts

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [log-symbols](https://npm.io/package/log-symbols.md) ^4.0.0

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-01-04
- 1.0.0 — 2021-01-04

## README

## Usage

```js
const alert = require('jls-cli-alerts');

// Provide the type, msg, and name options
alert({ type: `success`, msg: `All done!`, name: `DONE` });
alert({ type: `warning`, msg: `Something is wrong` });
alert({ type: `info`, msg: `Is this correct?` });
alert({ type: `error`, msg: `Nope!` });
```

## API

### alert(options)

## >

Type: `object`<br>
Default: {S}

#### type

type: `string`
default: error

---
_Source: https://npm.io/package/jls-cli-alerts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
