Untitled
unknown
plain_text
24 days ago
9.3 kB
7
Indexable
const {
Document, Packer, Paragraph, TextRun, AlignmentType, LevelFormat,
TabStopType, TabStopPosition, BorderStyle
} = require('docx');
const fs = require('fs');
const BODY = 20; // 10pt (half-points)
const NAME = 32; // 16pt
const SECTION = 22; // 11pt
// Section header with bottom rule
function sectionHead(text) {
return new Paragraph({
spacing: { before: 120, after: 40 },
border: { bottom: { style: BorderStyle.SINGLE, size: 6, color: "000000", space: 2 } },
children: [new TextRun({ text, bold: true, font: "Arial", size: SECTION })]
});
}
// Job/role header line with right-aligned date
function roleHeader(titleLine, dateStr) {
return new Paragraph({
spacing: { before: 90, after: 0 },
tabStops: [{ type: TabStopType.RIGHT, position: TabStopPosition.MAX }],
children: [
new TextRun({ text: titleLine, bold: true, font: "Arial", size: BODY }),
new TextRun({ text: `\t${dateStr}`, bold: false, italics: true, font: "Arial", size: BODY })
]
});
}
// Bullet paragraph
function bullet(text) {
return new Paragraph({
numbering: { reference: "resume-bullets", level: 0 },
spacing: { before: 20, after: 0 },
children: [new TextRun({ text, font: "Arial", size: BODY })]
});
}
const doc = new Document({
numbering: {
config: [{
reference: "resume-bullets",
levels: [{
level: 0,
format: LevelFormat.BULLET,
text: "\u2022",
alignment: AlignmentType.LEFT,
style: { paragraph: { indent: { left: 360, hanging: 180 } } }
}]
}]
},
styles: {
default: { document: { run: { font: "Arial", size: BODY } } }
},
sections: [{
properties: {
page: {
size: { width: 12240, height: 15840 },
margin: { top: 720, right: 1080, bottom: 720, left: 1080 }
}
},
children: [
// ── NAME ──────────────────────────────────────────────────────
new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 20 },
children: [new TextRun({ text: "RUSSEL REYES", bold: true, font: "Arial", size: NAME })]
}),
// ── TAGLINE ───────────────────────────────────────────────────
new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 20 },
children: [new TextRun({
text: "Retail Territory Manager | Sales Operations & Analytics | Financial Strategy",
font: "Arial", size: BODY, italics: true
})]
}),
// ── CONTACT ───────────────────────────────────────────────────
new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 80 },
border: { bottom: { style: BorderStyle.SINGLE, size: 6, color: "000000", space: 4 } },
children: [new TextRun({
text: "(347) 371-2827 | [email protected] | West Palm Beach, FL",
font: "Arial", size: BODY
})]
}),
// ── SUMMARY ───────────────────────────────────────────────────
sectionHead("PROFESSIONAL SUMMARY"),
new Paragraph({
spacing: { before: 40, after: 40 },
children: [new TextRun({
text: "Results-driven Retail Territory Manager with 3+ years of experience leading high-performance field sales teams and delivering consistent YoY revenue growth for a global Fortune 500 consumer goods brand. Skilled in end-to-end territory management, data analytics (Salesforce, Tableau, Trax), and cross-functional strategy alignment, with a track record of exceeding monthly KPIs and optimizing retail execution at scale. Combines strong financial acumen with advanced studies in Artificial Intelligence to generate actionable, data-driven insights that fuel sustainable revenue growth.",
font: "Arial", size: BODY
})]
}),
// ── EXPERIENCE ────────────────────────────────────────────────
sectionHead("PROFESSIONAL EXPERIENCE"),
// --- Job 1 ---
roleHeader(
"Retail Territory Manager | Mondelez International | West Palm Beach, FL",
"June 2023 – Present"
),
bullet("Lead and develop an 8-member field sales team across a multi-county South Florida territory, consistently achieving 100%+ of monthly revenue targets through optimized Direct Store Delivery (DSD) and Accounts Receivable management."),
bullet("Increased territory revenue 15%+ YoY by leveraging Computer-Assisted Ordering (CAO) analytics to eliminate inventory gaps, reduce out-of-stock incidents by 20%+, and sustain on-shelf product compliance above 95%."),
bullet("Generate and present data-driven weekly performance reports using Salesforce, Tableau, and Trax, synthesizing sales, logistics, and KPI metrics to drive strategic decisions across Category Management and Planning teams."),
bullet("Partner cross-functionally with Customer Category Managers and Category Planning teams to co-develop go-to-market strategies and promotional execution plans aligned with corporate revenue objectives."),
// --- Job 2 ---
roleHeader(
"Accountant | Victorio Tailors Alterations | Boca Raton, FL",
"November 2020 – May 2023"
),
bullet("Managed full-cycle financial operations including daily bookkeeping, P&L oversight, revenue and expense tracking, and annual budget development, sustaining profitability through rigorous cost controls."),
bullet("Conducted in-depth analysis of production costs, material procurement, and competitive pricing strategies, identifying recurring savings opportunities that reduced overhead by 10%+ and improved net profit margins."),
bullet("Ensured 100% on-time tax compliance with all state and federal regulations, preparing quarterly and annual filings with zero penalties or audit findings across a full 2.5-year engagement."),
// ── SKILLS ────────────────────────────────────────────────────
sectionHead("CORE COMPETENCIES & TECHNICAL SKILLS"),
new Paragraph({
spacing: { before: 40, after: 20 },
children: [
new TextRun({ text: "Sales & Operations: ", bold: true, font: "Arial", size: BODY }),
new TextRun({
text: "Territory Management | Direct Store Delivery (DSD) | Retail Execution | KPI Tracking & Dashboards | Team Leadership & Coaching | Account Management | Cross-Functional Collaboration | Inventory & Supply Chain | Business Development",
font: "Arial", size: BODY
})
]
}),
new Paragraph({
spacing: { before: 0, after: 20 },
children: [
new TextRun({ text: "Analytics & Finance: ", bold: true, font: "Arial", size: BODY }),
new TextRun({
text: "Salesforce CRM | Tableau | Trax | Data Analysis & Reporting | Financial Accounting | Budgeting & Forecasting | Cost Analysis | P&L Management | Tax Compliance | Market Research & Trend Analysis",
font: "Arial", size: BODY
})
]
}),
// ── EDUCATION ─────────────────────────────────────────────────
sectionHead("EDUCATION"),
new Paragraph({
spacing: { before: 40, after: 0 },
tabStops: [{ type: TabStopType.RIGHT, position: TabStopPosition.MAX }],
children: [
new TextRun({
text: "Bachelor of Science, Computer Science | Concentration: Artificial Intelligence | Minor: Mathematics",
bold: true, font: "Arial", size: BODY
}),
new TextRun({ text: "\tExpected May 2027", italics: true, font: "Arial", size: BODY })
]
}),
new Paragraph({
spacing: { before: 0, after: 20 },
tabStops: [{ type: TabStopType.RIGHT, position: TabStopPosition.MAX }],
children: [
new TextRun({ text: "Palm Beach State College | Lake Worth, FL", font: "Arial", size: BODY }),
new TextRun({
text: "\tGPA: 3.92 | President's List | Dean's List",
italics: true, font: "Arial", size: BODY
})
]
}),
]
}]
});
Packer.toBuffer(doc)
.then(buffer => {
fs.writeFileSync("/mnt/user-data/outputs/Russel_Reyes_Resume.docx", buffer);
console.log("Resume created successfully!");
})
.catch(err => {
console.error("Error:", err);
process.exit(1);
});Editor is loading...
Leave a Comment