Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dreamjet31/pdf-to-csv


https://github.com/dreamjet31/pdf-to-csv

csv excel pdf

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# PDF to CSV

Click here and see it in action.

PDF to CSV is an Angular Application that allows to open PDF files and convert the data of those files as CSV data, that could be processed and stored more easily.

This project was created as an example of how to read pdf files and manipulate its data in an Angular Application project.

## Dependecies
The data conversion is done by the [pdfjs-dist](https://www.npmjs.com/package/pdfjs-dist) package, and the [xlsx](https://www.npmjs.com/package/xlsx) package is used to save the data as an Excel file.

For `pdfjs-dist` package to work, was necessary to add the lines below as an asset in the `angular.json` file

{

"glob": "pdf.worker.*",
"input": "node_modules/pdfjs-dist/build/",
"output": ""
}

## Installation

Clone the git repository, then install all the packages:

git clone https://github.com/adfontana/pdf-to-csv.git
npm install

## Usage
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.