# @cd2/es-qu-el

> `npm i @cd2/es-qu-el`

Latest version **0.20.0** (published 2026-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cd2/es-qu-el
pnpm add @cd2/es-qu-el
yarn add @cd2/es-qu-el
bun add @cd2/es-qu-el
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

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

## Facts

| | |
|---|---|
| Version | 0.20.0 |
| Published | 2026-09-07 |
| First published | 2019-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 75.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | smosix, hexmodr, cd2developers |

## Links

- npm: https://www.npmjs.com/package/@cd2/es-qu-el
- npm.io page: https://npm.io/package/@cd2/es-qu-el

## Recent versions

- 0.20.0 (latest) — 2026-09-07
- 0.19.0 — 2026-06-14
- 0.18.1 — 2026-06-10
- 0.18.0 — 2026-06-10
- 0.17.0 — 2025-02-21
- 0.16.1 — 2025-02-21
- 0.16.0 — 2025-02-21
- 0.15.0 — 2025-02-19
- 0.14.2 — 2025-02-05
- 0.14.1 — 2025-02-05
- 0.14.0 — 2022-11-24
- 0.13.2 — 2021-11-08
- 0.13.1 — 2021-11-08
- 0.13.0 — 2021-10-06
- 0.12.0 — 2020-11-26
- … 42 more at https://npm.io/package/@cd2/es-qu-el/versions

## README

# ES-QU-EL

`npm i @cd2/es-qu-el`

## Sanitizing using the SQL function

The `SQL` function will automatically escape any interpolated into the string.

```javascript
import { SQL } from "@cd2/es-qu-el"

const userInput = `dangerous user input ' OR true; `

const sql = SQL`SELECT * FROM table WHERE thing=${userInput}`
```

A function can be interpolated which will get access to an object with many sanitizers:

```javascript
const table = `my_table`

const sql = SQL`SELECT * FROM ${as => as.name(table)}`
```

---
_Source: https://npm.io/package/@cd2/es-qu-el · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
