Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjrmatos/parse-pdf
Get text content and metadata about pdf
https://github.com/bjrmatos/parse-pdf
parse pdf pdfjs
Last synced: about 1 month ago
JSON representation
Get text content and metadata about pdf
- Host: GitHub
- URL: https://github.com/bjrmatos/parse-pdf
- Owner: bjrmatos
- License: mit
- Created: 2018-05-14T16:39:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T16:42:38.000Z (over 6 years ago)
- Last Synced: 2024-10-12T18:08:24.439Z (3 months ago)
- Topics: parse, pdf, pdfjs
- Language: JavaScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parse-pdf
[![NPM Version](http://img.shields.io/npm/v/parse-pdf.svg?style=flat-square)](https://npmjs.com/package/parse-pdf)
[![License](http://img.shields.io/npm/l/parse-pdf.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/bjrmatos/parse-pdf.png?branch=master)](https://travis-ci.org/bjrmatos/parse-pdf)> **Get text content and metadata about pdf**
## Usage
```js
const fs = require('fs')
const parsePdf = require('parse-pdf')const parsed = await parsePdf(fs.readFileSync('some-pdf-file.pdf'))
console.log(parsed.pages[0].text)
```## License
See [license](https://github.com/bjrmatos/parse-pdf/blob/master/LICENSE)