@prolaxu/open-resume-pdf-parser
v0.1.2
Published
Extract and parse resume data from PDF files using OpenResume's parsing logic.
Readme
Open Resume PDF Parser
A standalone TypeScript library for extracting and parsing resume data from PDF files.
Features
- Robust Parsing: Extracts profile, work experience, education, projects, and skills from PDF resumes.
- Type-Safe: Written in TypeScript with full type definitions.
Installation
npm install @prolaxu/open-resume-pdf-parserUsage
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.
Development
Prerequisites
- Node.js (v16 or higher)
- npm
Setup
- Clone the repository.
- Install dependencies:
npm installBuilding
To build the package for production (CJS and ESM formats):
npm run buildTo run in watch mode during development:
npm run devTesting
Run the test suite using Vitest:
npm testLicense
AGPL-3.0
