The parser logic located on the /parser-utils/ folder.
- ExtractSections - Split pdf's text to relevant sections.
- Parse Each Section -
- parseIntroSection
- parseEducationSection
- parseEmploymentHistorySection
Code can be run from cli, or using browser's url.
git clone [email protected]:galta/node-resume-parser.git
cd node-resume-parser
npm i
Server serve static files, so you can use PDFs folder to serve pdf static files if needed..
npm start
node parser.js --pdf=http://localhost:3000/PDFs/Fake-Resume.pdf
More options:
Without url parameter:
node parser.js
With url that is not exists:
node parser.js --pdf=http://localhost:3000/PDFs/not-exists.pdf
With url that is not a pdf:
node parser.js --pdf=http://localhost:3000/PDFs/not-pdf-file.txt
With url that is not a valid resume format:
node parser.js --pdf=http://localhost:3000/PDFs/not-valid-format.pdf
http://localhost:3000/parser?pdf=http://localhost:3000/PDFs/Fake-Resume.pdf
http://localhost:3000/parser?pdf=http://localhost:3000/PDFs/not-exists.pdf
http://localhost:3000/parser?pdf=http://localhost:3000/PDFs/not-pdf-file.txt
http://localhost:3000/parser?pdf=http://localhost:3000/PDFs/not-valid-format.pdf