Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kurone-kito/jsonresume-theme-japanese-cv-style-docx

๐Ÿ“„ Generate a Word docx file of Japanese-style resume from JSON Resume; since 2019.9
https://github.com/kurone-kito/jsonresume-theme-japanese-cv-style-docx

curriculum-vitae docx docx-generator json-resume jsonresume-theme library npm-package

Last synced: 24 days ago
JSON representation

๐Ÿ“„ Generate a Word docx file of Japanese-style resume from JSON Resume; since 2019.9

Awesome Lists containing this project

README

        

# โ€œ@kurone-kito/jsonresume-theme-japanese-cv-style-docxโ€

[![npm version](https://badge.fury.io/js/%40kurone-kito%2Fjsonresume-theme-japanese-cv-style-docx.svg)](https://badge.fury.io/js/%40kurone-kito%2Fjsonresume-theme-japanese-cv-style-docx)
[![Coverage Status](https://coveralls.io/repos/github/kurone-kito/jsonresume-theme-japanese-cv-style-docx/badge.svg?branch=master)](https://coveralls.io/github/kurone-kito/jsonresume-theme-japanese-cv-style-docx?branch=master)

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 >= v16 (On ARM64 e.g. Apple M1)
- Node.js >= v14 (On x86-64)

### or

- Node.js >= v12, and [a latest `full-icu` package](https://github.com/unicode-org/full-icu-npm) (On x86-64)

## Usage

```sh
npm install --save @kurone-kito/jsonresume-theme-japanese-cv-style-docx
```

```JavaScript
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()

```TypeScript
render(resume: EnhancedResume): Promise
```

#### Params

- resume: A JSON Resume object. (See following: [EnhancedResume](#enhancedresume))

#### Returns

Body of the Word DOCX file.

## Types

### EnhancedResume

Enhanced definition of the JSON Resume.

```JSON
{
"projects": [
{
...
"env": {
"os": ["Windows XP", "AIX"],
"language": ["PL/I", "COBOL"],
"platforms": ["Excel 2000"]
}
}
],
"skills": [
{
...
"tags": "language"
},
{
...
"tags": ["tools", "foobar"]
}
]
}
```

## License

MIT