A standalone TypeScript library for extracting and parsing resume data from PDF files.
- Robust Parsing: Extracts profile, work experience, education, projects, and skills from PDF resumes.
- Type-Safe: Written in TypeScript with full type definitions.
npm install @prolaxu/open-resume-pdf-parser
import { parseResumeFromPdf } from "@prolaxu/open-resume-pdf-parser"; const fileUrl = "path/to/resume.pdf"; parseResumeFromPdf(fileUrl).then((resume) => { console.log(resume); });
The returned resume object contains:
profile: Name, email, phone, url, summary, location.workExperiences: Array of work experience entries.educations: Array of education entries.projects: Array of project entries.skills: Featured skills and descriptions.custom: Custom section data.
- Node.js (v16 or higher)
- npm
- Clone the repository.
- Install dependencies:
npm install
To build the package for production (CJS and ESM formats):
npm run build
To run in watch mode during development:
npm run dev
Run the test suite using Vitest:
npm testAGPL-3.0