# node-easy-docx

> NodeJs library to parse docx file content into JSON format.

Latest version **0.1.3** (published 2019-06-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-easy-docx
pnpm add node-easy-docx
yarn add node-easy-docx
bun add node-easy-docx
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2019-06-12 |
| First published | 2019-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | saikksub |
| Maintainers | saikksub |
| Keywords | docx, xml, JSON, office, document, word, ooxml |

## Links

- npm: https://www.npmjs.com/package/node-easy-docx
- Repository: https://github.com/saikksub/easy-docx
- Homepage: https://github.com/saikksub/easy-docx#readme
- Issues: https://github.com/saikksub/easy-docx/issues
- npm.io page: https://npm.io/package/node-easy-docx

## Dependencies (2)

- [jszip](https://npm.io/package/jszip.md) ^3.2.1
- [xml-js](https://npm.io/package/xml-js.md) ^1.6.11

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.3 (latest) — 2019-06-12
- 0.1.2 — 2019-06-06
- 0.1.1 — 2019-06-05
- 0.1.0 — 2019-06-05

## README

# 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)

---
_Source: https://npm.io/package/node-easy-docx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
