# pdf-paragraph-parser

> Module that parsed pdf into paragraphs.

Latest version **0.0.7** (published 2018-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install pdf-paragraph-parser
pnpm add pdf-paragraph-parser
yarn add pdf-paragraph-parser
bun add pdf-paragraph-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-10-05 |
| First published | 2018-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ludovic Descateaux & Gauthier Hénon |
| Maintainers | hinosxz |

## Links

- npm: https://www.npmjs.com/package/pdf-paragraph-parser
- Repository: https://gitlab.com/mad171/pdf-paragraph-parser
- Homepage: https://gitlab.com/mad171/pdf-paragraph-parser#readme
- Issues: https://gitlab.com/mad171/pdf-paragraph-parser/issues
- npm.io page: https://npm.io/package/pdf-paragraph-parser

## Dependencies (1)

- [pdf2json](https://npm.io/package/pdf2json.md) ^1.1.7

## Recent versions

- 0.0.7 (latest) — 2018-10-05
- 0.0.6 — 2018-10-05
- 0.0.5 — 2018-10-05
- 0.0.4 — 2018-10-04
- 0.0.3 — 2018-10-04
- 0.0.2 — 2018-10-04
- 0.0.1 — 2018-10-04

## README

# PDF Paragraph Parser

This module is a pdf parser able to split pages into paragraphs objects. 
The output is an array of JSON paragraph objects.

e.g. 
```
[
  {
    "page": 1,
    "text":"The Mysterious Island\nby Jules Verne 1874"
  },
  {
    "page": 1,
    "text": "Chapter 1"
  },
  {
    "page": 1,
    "text": "Hello"
  },
  {
    "page": 1,
    "text": "World!"
  },
]
```

## Getting started
```
npm install pdf-paragraph-parser
```

```
const paragraphParser = require('pdf-paragraph-parser');

paragraphParser('path/to/input/file', '%')
    .then((data) => console.log(data))
    .catch((err) => console.error(err));
```

Enjoy

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