Gathering detailed insights and metrics for europa-dom-cheerio
Gathering detailed insights and metrics for europa-dom-cheerio
Library for converting HTML into valid Markdown
npm install europa-dom-cheerio
Typescript
Module System
Min. Node Version
Node Version
NPM Version
71.1
Supply Chain
88.7
Quality
75
Maintenance
100
Vulnerability
99.6
License
TypeScript (90.58%)
HTML (3.46%)
Mustache (3.32%)
JavaScript (2.64%)
Total Downloads
8,348
Last Day
1
Last Week
5
Last Month
31
Last Year
7,725
159 Stars
135 Commits
24 Forks
5 Watching
1 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
6.0.0
Package Id
europa-dom-cheerio@6.0.0
Unpacked Size
65.14 kB
Size
9.12 kB
File Count
47
NPM Version
lerna/4.0.0/node@v16.14.2+x64 (darwin)
Node Version
16.14.2
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
5
Compared to previous week
Last month
-96.8%
31
Compared to previous month
Last year
2,192.3%
7,725
Compared to previous year
1
A Europa DOM wrapper using cheerio.
Install using your preferred package manager. For example;
1$ npm install --save europa-dom-cheerio
You will most likely never need to depend on europa-dom-cheerio
directly. Instead, you will probably want to install
either the node-europa or
europa-worker package in order to use Europa
within Node.js or a web worker.
1import { Dom, Environment } from 'europa-core'; 2import { AnyNode, CheerioDom, CheerioDomRoot, Element } from 'europa-dom-cheerio'; 3 4const _dom = Symbol(); 5 6class ExampleEnvironment implements Environment<AnyNode, Element> { 7 private readonly [_dom] = new CheerioDom(); 8 9 getDefaultBaseUri(): string { /* ... */ } 10 11 getDefaultEndOfLineCharacter(): string { /* ... */ } 12 13 getDom(): Dom<AnyNode, Element, CheerioDomRoot> { 14 return this[_dom]; 15 } 16 17 resolveUrl(baseUri: string, url: string): string { /* ... */ } 18}
If you have any problems with this Europa environment or would like to see changes currently in development you can do so here.
If you want to contribute, you're a legend! Information on how you can do so can be found in CONTRIBUTING.md. We want your suggestions and pull requests!
A list of Europa contributors can be found in AUTHORS.md.
Copyright © 2022 neocotic
See LICENSE.md for more information on our MIT license.
No vulnerabilities found.
No security vulnerabilities found.