module LibZip

Ruby bindings for libzip, with libzip, zlib and mbedTLS linked into the extension.

require "libzip"

LibZip::File.open("archive.zip", create: true) do |zip|
  zip.add("hello.txt", "hello.txt")
end

Start at LibZip::File. A listing gives LibZip::Entry snapshots, LibZip::InputStream and LibZip::OutputStream move entry bytes in and out, and anything that fails is a LibZip::Error.