# cheerio-select

> CSS selector engine supporting jQuery selectors

Latest version **2.1.0** (published 2022-05-16) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install cheerio-select
pnpm add cheerio-select
yarn add cheerio-select
bun add cheerio-select
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2022-05-16 |
| First published | 2012-05-24 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 61.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Felix Boehm |
| Maintainers | mattmueller, feedic |

## Links

- npm: https://www.npmjs.com/package/cheerio-select
- Repository: https://github.com/cheeriojs/cheerio-select
- Homepage: https://github.com/cheeriojs/cheerio-select#readme
- Issues: https://github.com/cheeriojs/cheerio-select/issues
- Funding: https://github.com/sponsors/fb55
- npm.io page: https://npm.io/package/cheerio-select

## Dependencies (6)

- [boolbase](https://npm.io/package/boolbase.md) ^1.0.0
- [css-what](https://npm.io/package/css-what.md) ^6.1.0
- [domutils](https://npm.io/package/domutils.md) ^3.0.1
- [css-select](https://npm.io/package/css-select.md) ^5.1.0
- [domhandler](https://npm.io/package/domhandler.md) ^5.0.3
- [domelementtype](https://npm.io/package/domelementtype.md) ^2.3.0

## Recent versions

- 2.1.0 (latest) — 2022-05-16
- 2.0.0 — 2022-04-30
- 1.6.0 — 2022-03-28
- 1.5.0 — 2021-06-07
- 1.4.0 — 2021-04-16
- 1.3.0 — 2021-04-08
- 1.2.0 — 2021-02-11
- 1.1.0 — 2021-01-07
- 1.0.0 — 2020-12-25
- 0.0.3 — 2012-05-29
- 0.0.2 — 2012-05-27
- 0.0.1 — 2012-05-24

## README

# cheerio-select [![NPM version](http://img.shields.io/npm/v/cheerio-select.svg)](https://npmjs.org/package/cheerio-select) [![Build Status](https://travis-ci.org/cheeriojs/cheerio-select.svg?branch=master)](http://travis-ci.org/cheeriojs/cheerio-select) [![Downloads](https://img.shields.io/npm/dm/cheerio-select.svg)](https://npmjs.org/package/cheerio-select) [![Coverage](https://coveralls.io/repos/cheeriojs/cheerio-select/badge.svg?branch=master)](https://coveralls.io/r/cheeriojs/cheerio-select)

CSS selector engine supporting jQuery selectors, based on [`css-select`](https://github.com/fb55/css-select).

Supports all jQuery positional pseudo-selectors:

-   `:first`
-   `:last`
-   `:eq`
-   `:nth`
-   `:gt`
-   `:lt`
-   `:even`
-   `:odd`
-   `:not(:positional)`, where `:positional` is any of the above.

This library is a thin wrapper around [`css-select`](https://github.com/fb55/css-select).
Only use this module if you will actually use jQuery positional selectors.

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