# tools-express

> Tools express nodejs

Latest version **1.0.0** (published 2019-08-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install tools-express
pnpm add tools-express
yarn add tools-express
bun add tools-express
```

## 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.0 |
| Published | 2019-08-25 |
| First published | 2019-08-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fhlemes |

## Links

- npm: https://www.npmjs.com/package/tools-express
- npm.io page: https://npm.io/package/tools-express

## Recent versions

- 1.0.0 (latest) — 2019-08-25

## README

## Tools Dev - NodeJS

- Author: Kleyton Souza
- Author: Flávio Lemes

Versão BETA

#

## Instalação

```
npm i tools-express
```

## Utilização

- Paginação

```
const { Paginator } = require("tools-express");

const { page } = req.query;

const data = await Collection.find()

const arrayPaginate = await Paginator(data, Number(page));

return res.status(200).json(arrayPaginate);
```

- Validar CPF

```
const { checkCPF } = require("tools-express");

const verifica = checkCPF(00000000000)
```

- Verifica senha com 8 digitos, maiusculas e minusculas

```
const { checkPass } = require("tools-express");

const verifica = checkPass(aG23%780)
```

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