Skip to content

Commit

Permalink
Merge pull request #11 from armand1m/fix/docs-and-peer-dependencies
Browse files Browse the repository at this point in the history
fix: make jsdom and pino peer dependencies
  • Loading branch information
armand1m authored Nov 15, 2021
2 parents 3ace536 + 5aabad2 commit 32146cd
Show file tree
Hide file tree
Showing 6 changed files with 661 additions and 466 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Papercut

Papercut is a scraping/crawling library for Node.js, written in Typescript.
[![NPM](https://img.shields.io/npm/v/@armand1m/papercut.svg)](https://www.npmjs.com/package/@armand1m/papercut) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![codecov](https://codecov.io/gh/armand1m/papercut/branch/master/graph/badge.svg)](https://codecov.io/gh/armand1m/papercut)
[![bundlephobia](https://badgen.net/bundlephobia/min/@armand1m/papercut)](https://bundlephobia.com/result?p=@armand1m/papercut)
[![bundlephobia](https://badgen.net/bundlephobia/minzip/@armand1m/papercut)](https://bundlephobia.com/result?p=@armand1m/papercut)

It provides a type-safe and small foundation that makes it fairly easy to scrape webpages with confidence.
> Papercut is a scraping/crawling library for Node.js, written in Typescript.
Papercut provides a small type-safe and tested foundation that makes it fairly easy to scrape webpages with confidence.

## Features

Expand Down Expand Up @@ -63,10 +68,10 @@ cd papercut-demo
yarn init -y
```

Add papercut:
Add papercut and the needed peer dependencies:

```sh
yarn add @armand1m/papercut
yarn add @armand1m/papercut jsdom pino
```

#### Single page scraper
Expand Down
2 changes: 2 additions & 0 deletions examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
},
"dependencies": {
"@armand1m/papercut": "file:../..",
"jsdom": "^18.1.0",
"pino": "^7.2.0",
"tslib": "^2.3.1"
},
"scripts": {
Expand Down
Loading

0 comments on commit 32146cd

Please sign in to comment.