# express-query-boolean

> Convert query strings to dates for express/connect applications.

Latest version **2.0.0** (published 2018-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install express-query-boolean
pnpm add express-query-boolean
yarn add express-query-boolean
bun add express-query-boolean
```

## 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 | 2.0.0 |
| Published | 2018-02-21 |
| First published | 2015-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Marius Craciunoiu |
| Maintainers | mariusc23 |
| Keywords | express, connect, true, false, boolean |

## Links

- npm: https://www.npmjs.com/package/express-query-boolean
- Repository: https://github.com/mariusc23/express-query-boolean
- Issues: https://github.com/mariusc23/express-query-boolean/issues
- npm.io page: https://npm.io/package/express-query-boolean

## Recent versions

- 2.0.0 (latest) — 2018-02-21
- 1.0.0 — 2015-02-28

## README

express-query-boolean
==================

> Convert query strings to dates for express/connect applications.

[![npm](https://img.shields.io/npm/v/express-query-boolean.svg)](https://www.npmjs.com/package/express-query-boolean)
[![build status](https://travis-ci.org/mariusc23/express-query-boolean.svg)](https://travis-ci.org/mariusc23/express-query-boolean)


## Installation

    npm install --save express-query-boolean


## Getting Started
The module will recursively attempt to parse every property in `req.query`.

Load it right after `bodyParser`:

```js
var boolParser = require('express-query-boolean');

// [...]

app.use(bodyParser.json());
app.use(boolParser());
```

#### Without
```js
// ?a=true&b[c]=false
console.log(req.query);
// => { a: 'true', b: { c: 'false' } }
```

#### With
```js
// ?a=true&b[c]=false
console.log(req.query);
// => { a: true, b: { c: false } }
```


## License
Copyright (c) 2015 Marius Craciunoiu. Licensed under the MIT license.

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