New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

render-resume

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

render-resume

[npm package render-resume](https://www.npmjs.com/package/render-resume)

  • 0.9.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Word resume generator

npm package render-resume

Generate docx resume from yaml data using docx

  • Avoid hassles like updating dates and focus on the contents.
  • Generate Uptodate resume instantly
  • Pdf conversion is also handy when you use libre office cli
  • manage the source file with your everday editor
  • multiple revison (wip)

** pretty much experimental yet

Usage

in a blank directory

$ git init
$ npm init --yes
$ npm install -S render-resume
$ npx generate-resume-source resume.yml
$ git add . && git commit -m "init"

edit the yaml file for your resume and render

$ npx render-resume resume.yml

repeat editing and render until you want and you can commit and keep your own yaml in the local repo

git clone

After cloning this repo,

$ npm i
$ npm run output -- sample.yml

Programmatic

npm install

$ npm i render-resume -S

in js

import docx from 'docx';
import fs from 'fs';
import render, { seeder } from 'render-resume';

const doc = render(seeder('some-random-seed'));
const packer = new docx.Packer();
const buffer = await packer.toBuffer(doc);
fs.writeFile('filename.docx', buffer);

Yaml source format

header

provides meta data.

paragraphs

paragraphs.$.source has data key. paragraphs.$.title has the title of the paragraph.

paragraphs in the data are rendered by this order.

focusOn

Any data field name can have default key and override by the contents of the default. If focusOn has been provided, find focusOn key first, and use it if exists.

data

please refer to sample.yml

Todos

  • add test script
  • convert to npm library
  • publish npm v0.9.2
  • add using custom style.xml
  • add template to change styles

Screen shot

sample

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc