{"id":80562,"library":"docx","title":"Docx","description":"A thin wrapper around rubyzip and nokogiri for working with .docx files.","status":"active","version":"0.12.0","language":"ruby","source_language":null,"source_url":"https://github.com/chrahunt/docx","tags":["docx","word","document","nokogiri"],"install":[{"cmd":"gem install docx","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'docx', '~> 0.12.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Docx","correct":"require 'docx'"}],"quickstart":{"code":"require 'docx'\ndoc = Docx::Document.open('example.docx')\nputs doc.paragraphs.first.text","lang":"ruby","description":"Open a .docx file and read the first paragraph"},"warnings":[],"env_vars":null,"search_vec":"'around':5 'document':16 'docx':1,12,14 'file':13 'nokogiri':8,17 'rubyzip':6 'thin':3 'word':15 'work':10 'wrapper':4","created_at":"2026-06-18T05:27:31.404390+00:00","updated_at":"2026-06-18T05:27:31.404390+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/chrahunt/docx","github":"https://github.com/chrahunt/docx","docs":"http://www.rubydoc.info/gems/docx/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}