# bootstrip-alert

> Bootstrap alert without jQuery

Latest version **0.0.1** (published 2014-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install bootstrip-alert
pnpm add bootstrip-alert
yarn add bootstrip-alert
bun add bootstrip-alert
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-07-06 |
| First published | 2014-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Evan Lucas |
| Maintainers | evanlucas |
| Keywords | bootstrap, bootstrip, alert, browser |

## Links

- npm: https://www.npmjs.com/package/bootstrip-alert
- Repository: https://github.com/evanlucas/bootstrip-alert
- Issues: https://github.com/evanlucas/bootstrip-alert/issues
- npm.io page: https://npm.io/package/bootstrip-alert

## Dependencies (2)

- [dom](https://npm.io/package/dom.md) 0.0.3
- [inherits](https://npm.io/package/inherits.md) ~2.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-07-06

## README

# bootstrip-alert

[Twitter bootstrap](https://github.com/twbs/bootstrap) alert without jQuery

All credit goes to the devs of bootstrap as this is heavily based on the alert plugin from it

## Install

```bash
$ npm install --save bootstrip-alert
```

## Tests

```bash
$ npm test
```

## Example

```js
var Alert = require('bootstrip-alert')
var $ = require('dom')
var ele = $('.alert')
var alert = new Alert(ele)

alert.on('close.bs.alert', function() {
  console.log('closing...')
})

alert.on('closed.bs.alert', function() {
  console.log('closed')
})

```

## TODO

- Allow for transition support
- Implement using data api

## License MIT

Licensed under the MIT License. For more info, see `LICENSE`

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