# vex-js

> Beautiful, functional dialogs in vanilla JavaScript

Latest version **4.1.0** (published 2018-02-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install vex-js
pnpm add vex-js
yarn add vex-js
bun add vex-js
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.1.0 |
| Published | 2018-02-25 |
| First published | 2014-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/vex-js) |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 2.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6861 |
| Maintainers | adamschwartz, bbatliner, geekjuice |

## Links

- npm: https://www.npmjs.com/package/vex-js
- Repository: https://github.com/HubSpot/vex
- Homepage: https://github.com/HubSpot/vex#readme
- Issues: https://github.com/HubSpot/vex/issues
- npm.io page: https://npm.io/package/vex-js

## Dependencies (4)

- [domify](https://npm.io/package/domify.md) 1.4.0
- [vex-dialog](https://npm.io/package/vex-dialog.md) 1.1.0
- [es6-object-assign](https://npm.io/package/es6-object-assign.md) 1.1.0
- [classlist-polyfill](https://npm.io/package/classlist-polyfill.md) 1.2.0

## Recent versions

- 4.1.0 (latest) — 2018-02-25
- 3.0.0-beta.1 (beta) — 2016-08-09
- 2.3.2 (2.3.2) — 2015-02-24
- 2.3.0 (2.3.0) — 2015-01-15
- 4.0.1 — 2017-09-11
- 4.0.0 — 2017-06-30
- 3.1.1 — 2017-04-04
- 3.1.0 — 2017-02-01
- 3.0.0 — 2016-09-01
- 2.3.4 — 2016-01-07
- 2.3.3 — 2015-11-09
- 2.2.1 — 2014-10-10

## README

## vex

### [Demo](http://github.hubspot.com/vex/docs/welcome/) &nbsp;&nbsp; [Documentation](http://github.hubspot.com/vex/)

vex is a modern dialog library which is highly configurable, easily stylable, and gets out of the way. You'll love vex because it's tiny (`5.6kb` minified and gzipped), has a clear and simple API, works on mobile devices, and can be customized to match your style in seconds.

![](https://raw.github.com/HubSpot/vex/master/docs/vex.gif)

### Features

- Drop-in replacement for `alert`, `confirm`, and `prompt`
- Easily configurable animations which are smooth as butter
- Lightweight with no external dependencies
- Looks and behaves great on mobile devices
- Open multiple dialogs at once and close them individually or all at once
- Built in CSS spinner for asynchronous dialogs (TODO)
- UMD support

### Documentation
- [Getting started](/docs/intro.md)
- [API Docs](/docs/api/1-Basic.md)
- [Plugins](/docs/api/4-Plugins.md)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

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