I created somehow the same thing as an npm package: dynamic-json-resume. It requires you to just maintain a json file containing all the different sections, and can generate pdf and html with an extra scrollable section. The code is not the prettiest but it is still working: <a href="https://github.com/jrm2k6/dynamic-json-resume" rel="nofollow">https://github.com/jrm2k6/dynamic-json-resume</a>
You can checkout the code of the same here : <a href="https://github.com/resume-nation/resume-nation.github.io" rel="nofollow">https://github.com/resume-nation/resume-nation.github.io</a>