nimzip

Binding for a portable, simple zip library

Pure Nim score 15/100 · last commit 2023-10-13 · 1 stars · tests present · no docs generated

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2023-10-13
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • XXIV

Installation

nimble install nimzip
choosenim install nimzip
git clone https://github.com/thechampagne/nimzip

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimzip - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.0 No

Source

Repository https://github.com/thechampagne/nimzip
Homepage https://github.com/thechampagne/nimzip
Registry Source github

README

nimzip

Nim binding for a portable, simple zip library.

Download

nimble install nimzip

Example

import nimzip

when isMainModule:
  var zip = zip_open("/tmp/nim.zip", 6, 'w')

  discard zip_entry_open(zip, "test")

  let content: cstring = "test content"
  discard zip_entry_write(zip, content, csize_t(len(content)))

  discard zip_entry_close(zip)
  zip_close(zip)

References

License

This repo is released under the MIT License.