pdf-to-markdown/core
2021-07-18 14:13:38 -06:00
..
patches Fix compilation caused by jest-file-snapshot problem 2021-03-20 19:01:30 +01:00
src Fine tune line detection 2021-07-18 13:07:06 -06:00
test Don't print globals twice 2021-07-18 14:13:38 -06:00
.gitignore Core project setup 2020-12-19 14:06:40 +01:00
.prettierrc Core project setup 2020-12-19 14:06:40 +01:00
jest.config.js Improve line compaction 2021-02-26 18:04:50 +01:00
package-lock.json Improve TOC headline detection 2021-04-27 08:29:00 +02:00
package.json Improve TOC headline detection 2021-04-27 08:29:00 +02:00
README.md Fine tune line detection 2021-07-18 13:07:06 -06:00
tsconfig.json Disable no used locals (for now) 2021-04-10 09:18:46 +02:00
tslint.json Initial pdfJs integration 2020-12-20 19:18:38 +01:00

PDF-To-Markdown Converter Core

Javascript library to parse PDF files and convert them into Markdown format. Ui version online version at http://pdf2md.morethan.io!

Use

//TBD

Contribute

Use the issue tracker and/or open pull requests!

Build

  • npm install Download all necessary npm packages
  • npm test Run the tests
  • npm run test-write Run the tests and persist possibly new changes on the example file results
  • npm run lint Lint the javascript files
  • npm run format Run the prettier formatter
  • npm run build Compile the typescript files to the lib folder

Test Release locally and use in other projects

  • npm link in the core project
  • npm link pdf-to-markdown-core in the target project

Release

//TBD

Credits

pdf.js - Mozilla's PDF parsing & rendering platform which is used as a raw parser