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

https://github.com/andrewaguiar/docxelixir

Elixir library to read docx files
https://github.com/andrewaguiar/docxelixir

docx elixir

Last synced: 11 months ago
JSON representation

Elixir library to read docx files

Awesome Lists containing this project

README

          

# Docxelixir

Docxelixir reads docx files and can extract paragraphs (texts in general) and table of contents.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `docxelixir` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:docxelixir, "~> 1.0.0"}
]
end
```

## Usage

```elixir
# Reading all paragraphs of samples/demo.docx
Docxelixir.read_paragraphs('samples/demo.docx')
# ['paragraph 1', 'paragraph 2', '...']
```