@scrapmd/mercury-parser

v2.2.3
Mercury transforms web pages into clean text. Publishers and programmers use it to make the web make sense, and readers use it to read any web article comfortably.
mercury parser reader web content

lint

eslint . --fix

lint:ci

remark . && eslint .

lint-fix-quiet

eslint --fix --quiet

build

yarn lint && rollup -c && yarn test:build

build:ci

rollup -c && yarn test:build

build:web

yarn lint && rollup -c rollup.config.web.js && yarn test:build:web

build:web:ci

rollup -c rollup.config.web.js && yarn test:build:web

release

yarn build && yarn build:web

build:generator

rollup -c scripts/rollup.config.js

test_build

rollup -c

test

yarn test:node && yarn test:web

test:node

jest --json --outputFile test-output.json

test:web

node ./node_modules/karma/bin/karma start karma.conf.js --auto-watch

test:build

cd ./scripts && jest check-build.test.js

test:build:web

node ./scripts/proxy-browser-test.js

watch:test

jest --watch

generate-parser

node ./dist/generate-custom-parser.js
npm i @scrapmd/mercury-parser

Metadata

  • MIT
  • >=8.10
  • Scrapmd
  • released 6/17/2020

Downloads

Maintainers