2018-08-03 23:26:14 +01:00
|
|
|
<p align="center">
|
|
|
|
<img alt="clippy the assistant" src="http://i60.tinypic.com/339pvtt.png">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
Easily generate .docx files with JS/TS.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# Welcome
|
|
|
|
|
2018-08-04 03:28:27 +01:00
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ npm install --save docx
|
|
|
|
```
|
|
|
|
Then you can `require` or `import` as usual:
|
|
|
|
|
|
|
|
```
|
|
|
|
let docx = require('docx');
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
import * as docx from 'docx'
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2018-08-03 23:26:14 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
Made with 💖
|