Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreamjet31/pdf-to-csv
https://github.com/dreamjet31/pdf-to-csv
csv excel pdf
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dreamjet31/pdf-to-csv
- Owner: dreamjet31
- License: mit
- Created: 2023-06-13T21:13:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-13T21:17:21.000Z (over 1 year ago)
- Last Synced: 2024-12-18T05:16:44.514Z (about 2 months ago)
- Topics: csv, excel, pdf
- Language: TypeScript
- Homepage:
- Size: 9.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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/`.
![]()