# node-easy-docx
NodeJs library to parse docx file content into JSON format.

**node-easy-docx** provides a simple solution to parse Office Open XML format files, ONLY **docx**, into JSON Object.

> Please read [Office Open XML](http://officeopenxml.com/anatomyofOOXML.php) for more information.

## Why JSON Objects?

node-easy-docx exposes .docx file into well structured and organized JSON objects. Using JavaScript, you can easily render HTML or any other document.

## Features
Currently node-easy-docx supports paragraphs and text formats only. Other features like - Images, Tables, Absolute contents are still in development.

## Installation
``` bash
npm install --save node-easy-docx
```

## Usage
``` js
const EasyDocx = require('node-easy-docx')

const easyDocx = new EasyDocx({
  path: 'path/to/docx/file'
})

easyDocx.parseDocx()
  .then(data => {
    // JSON data as result
    console.log(data)
  })
  .catch(err => {
    console.error(err)
  })
```
# License
[MIT](https://opensource.org/licenses/MIT)

## Author
[saikksub](https://github.com/saikksub)
