Resume Generator
Generates professional Word documents (.docx) from JSON Resume format using the docx npm package.
Prerequisites
- Node.js (v14 or higher recommended)
- npm
Installation
npm install
Updating Your Resume
Edit resume.json to update your resume content. The file follows the JSON Resume schema.
Sections
basics - Personal information and contact details
name- Your full namelabel- Professional title/headlineemail,phone,url- Contact informationsummary- Professional summary paragraphlocation- City, region, countryprofiles- Social/professional network links (LinkedIn, GitHub, etc.)
work - Employment history (array)
name- Company nameposition- Job titlelocation- Work locationstartDate,endDate- Dates in YYYY-MM format (omit endDate for current position)summary- Role descriptionhighlights- Array of accomplishments/responsibilities
education - Academic background (array)
institution- School namearea- Field of studystudyType- Degree type (e.g., "Bachelor", "Master")startDate,endDate- Dates in YYYY-MM formatscore- GPA or honors (optional)
certificates - Professional certifications (array)
name- Certification nameissuer- Issuing organizationdate- Date obtained (YYYY-MM format)
awards - Recognition and awards (array)
title- Award nameawarder- Granting organizationdate- Date receivedsummary- Description (optional)
skills - Technical and professional skills (array)
name- Skill category (e.g., "Security Tools", "Programming")level- Proficiency level (optional)keywords- Array of specific skills in this category
Running the Generator
node generate_resume.js
Output: Phillip_Tarrant_Resume_{YEAR}.docx in the project directory.
Customization
To modify the document formatting, edit generate_resume.js:
-
Output filename: Change
OUTPUT_FILEon line 11 -
Fonts: Change the
fontproperty inTextRunobjects (default: Arial) -
Margins: Adjust values in
sections[0].properties.page.margin(units are DXA, 1440 = 1 inch) -
Text sizes: Modify
sizeinTextRunobjects (units are half-points, e.g., 22 = 11pt) -
Spacing: Adjust
spacing: { before: X, after: Y }on Paragraph elements
Resources
- JSON Resume Schema - Full schema documentation
- docx npm package - Document generation library docs