This package will generate a CV (.tex and .pdf) for you from a .json input (schema specified below).
- Clone the package, and run
npm ito install all dependencies. - Replace the filler data in
data/cv.json node index.js- Your pdf is saved in
out/
--dataFile=<filename>.json A JSON file in the data/ folder containing CV data.
--outputFile=<filename> The filename to use for output of tex and pdf output
--texOut Output tex as well as pdf
An example file is provided in data/template.json
The JSON file consists of a single object, containing fields name, contact, websites, and sections. These are detailed below.
{
"name": "a string representing your name",
"contact": {
"phone": "<your phone number as a string>",
"email": "<your email address as a string>"
},
"websites": ["<relevant web link 1>", ...],
"sections": {
"<section header>": [
{
"pre": "<text to appear before bullet point>",
"post": "<text to appear before bullet point>",
"date": "<text to appear right aligned>",
"bullets": ["<first bullet point>", "<second bullet point>"]
}, ...
]
}
}
Note that within strings you should escape characters such as & using a \