cheerio

v1.0.0
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
htmlparser jquery selector scraper parser dom xml html

benchmark

node --import=tsx benchmark/benchmark.ts

build

tshy

format

npm run format:es && npm run format:prettier

format:es

npm run lint:es -- --fix

format:prettier

npm run format:prettier:raw -- --write

format:prettier:raw

prettier "**/*.{{m,c,}{j,t}s{x,},md{x,},json,y{a,}ml}" --ignore-path .gitignore

lint

npm run lint:es && npm run lint:prettier && npm run lint:ts

lint:es

eslint --report-unused-disable-directives --ignore-path .gitignore .

lint:prettier

npm run format:prettier:raw -- --check

lint:ts

tsc --noEmit

prepare

husky

prepublishOnly

npm run build

test

npm run lint && npm run test:vi

test:vi

vitest run

update-sponsors

tsx scripts/fetch-sponsors.mts
npm i cheerio

Metadata

  • MIT
  • >=18.17
  • Matt Mueller
  • released 8/9/2024

Downloads