Improve README

This commit is contained in:
Dolan
2018-08-09 03:13:16 +01:00
parent 94274733f4
commit e9ea4845be
2 changed files with 14 additions and 18 deletions

View File

@ -19,11 +19,11 @@ npm install --save docx
Then you can `require` or `import` as usual:
```js
let docx = require('docx');
let docx = require("docx");
```
```js
import * as docx from 'docx'
import * as docx from "docx";
```
## Basic Usage
@ -48,6 +48,12 @@ exporter.pack("My First Document");
// Done! A file called 'My First Document.docx' will be in your file system if you used LocalPacker
```
## Honoured Mentions
[@felipeochoa](https://github.com/felipeochoa)
[@h4buli](https://github.com/h4buli)
---
Made with 💖