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
- Host: GitHub
- URL: https://github.com/andrewaguiar/docxelixir
- Owner: andrewaguiar
- License: mit
- Created: 2017-08-01T11:56:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T11:38:56.000Z (over 3 years ago)
- Last Synced: 2024-10-17T07:15:58.583Z (over 1 year ago)
- Topics: docx, elixir
- Language: Elixir
- Size: 1.23 MB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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', '...']
```