# @fripixel/math-captcha

> Math Captcha Pure JS

Latest version **1.0.5** (published 2019-07-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @fripixel/math-captcha
pnpm add @fripixel/math-captcha
yarn add @fripixel/math-captcha
bun add @fripixel/math-captcha
```

## 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.5 |
| Published | 2019-07-27 |
| First published | 2019-07-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 169.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Felipe Venturino |
| Maintainers | fripixel |
| Keywords | Math, Captcha |

## Links

- npm: https://www.npmjs.com/package/@fripixel/math-captcha
- Repository: https://github.com/Fripixel/math-captcha
- Homepage: https://github.com/Fripixel/math-captcha#readme
- Issues: https://github.com/Fripixel/math-captcha/issues
- npm.io page: https://npm.io/package/@fripixel/math-captcha

## Dependencies (1)

- [bootstrap](https://npm.io/package/bootstrap.md) ^4.3.1

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-07-27
- 1.0.3 — 2019-07-27
- 1.0.2 — 2019-07-27
- 1.0.1 — 2019-07-26

## README

# Math-Captcha

This plugin adds a captcha box before the submit button in your form.

#### How to use:

```javascript
/* Inicialização */
var mathCaptcha = new MathCaptcha({
  selector: '#form'
})

/* Default parameters */
MathCaptcha.defaults = {
  selector: '[name=form]',
  inputClass: 'form-control',
  inputName: 'captcha',
  placeholder: 'calc result',
  labelClass: 'calc',
  calcValueClass: 'calc__value',
  calcResultClass: 'calc__result',
  wrapperClass: 'math-captcha',
  submitSelectorClass: '[type=submit]'
}
```

_Demonstração_ [Demo](https://codepen.io/venturion/pen/qeqZxR)

_Made By_ [fripixel.com.br](https://fripixel.com.br)

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