@kurone-kito/jsonresume-theme-japanese-cv-style-docx
v2.0.0
Published
Generate a Word docx file of Japanese-style resume (職務経歴書) from JSON Resume
Downloads
323
Maintainers
Readme
“@kurone-kito/jsonresume-theme-japanese-cv-style-docx”
JSON Resume から、日本のお堅い系企業ウケしそうな職務経歴書の Word DOCX ファイルを生成する NPM パッケージです。既存のテーマは揃いも揃ってモダンで、 かつ Word DOCX を出力できるテーマが見当たりませんでしたので、制作しました。
An NPM package that generates a Word DOCX file of Japanese-style resume from JSON Resume. The existing themes are all modern and stylish. And then cannot found that can output Word DOCX.
Requires
Strongly recommended
- Node.js >= v15.4 (On ARM64 e.g. Apple M1)
- Node.js >= v14 (On x86-64)
or
- Node.js >= v12.20 and < v14, and a latest
full-icu
package (On x86-64)
Usage
npm install --save @kurone-kito/jsonresume-theme-japanese-cv-style-docx
import fs from 'fs';
import render from '@kurone-kito/jsonresume-theme-japanese-cv-style-docx';
// // ⬆️ or ⬇️
// const { render } = require('@kurone-kito/jsonresume-theme-japanese-cv-style-docx');
const resume = require('./resume.json');
const filename = 'resume.docx';
render(resume).then(buffer => {
fs.writeFileSync(filename, buffer);
console.log(`writted: ${filename}`);
});
API
render()
render(resume: EnhancedResume): Promise<Buffer>
Params
- resume: A JSON Resume object. (See following: EnhancedResume)
Returns
Body of the Word DOCX file.
Types
EnhancedResume
Enhanced definition of the JSON Resume.
{
"projects": [
{
...
"env": {
"os": ["Windows XP", "AIX"],
"language": ["PL/I", "COBOL"],
"platforms": ["Excel 2000"]
}
}
],
"skills": [
{
...
"tags": "language"
},
{
...
"tags": ["tools", "foobar"]
}
]
}
License
MIT