str_compressor
Version, currently 0.1.11 version
- 0.1.1latestJul 8, 2017
github.com/elorest/str_compressor
String Compressor for Crystal Lang
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
str_compressor:
github: elorest/str_compressor
version: ~> 0.1.1Then run:
shards installshard.yml
- Crystal
0.22.0- License
- MIT
- Author
- Isaac Sloan
- Target
str_compressorfrom src/str_compressor.cr
Dependencies
This version declares no dependencies.
README
Crystal String Compressor
Makes it easy to compress/decompress and string for sending over a network and multiple other uses.
Installation
Add the following to your shards.yml
dependencies:
str_compressor:
github: elorest/str_compressor
Run shards update
Usage
require "str_compressor"
# To use gzip
gzipped_str = Gzip.write("Hello World")
Gzip.read(gzipped_str) # => "Hello World"
# To use flate
flatecompressed_str = Flate.write("Hello World")
Flate.read(flatecompressed_str) # => "Hello World"
Contributing
- Fork it ( https://github.com/elorest/str_compressor/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- elorest Isaac Sloan - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- Jul 8, 2017
- Commit
6ca28b7ac597- Crystal
0.22.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/elorest/str_compressor
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1