andrewaguiar / docxelixir

Elixir library to read docx files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docxelixir

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

Installation

If available in Hex, the package can be installed by adding docxelixir to your list of dependencies in mix.exs:

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

Usage

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

About

Elixir library to read docx files

License:MIT License


Languages

Language:Elixir 100.0%