https://github.com/randomhashtags/swift-compression
Standalone compression & decompression library.
https://github.com/randomhashtags/swift-compression
brotli compression decompression deflate dna-compression dnac-sbe huffman-coding move-to-front run-length-encoding snappy swift
Last synced: 2 months ago
JSON representation
Standalone compression & decompression library.
- Host: GitHub
- URL: https://github.com/randomhashtags/swift-compression
- Owner: RandomHashTags
- License: apache-2.0
- Created: 2024-12-10T00:24:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-15T01:13:42.000Z (2 months ago)
- Last Synced: 2025-04-15T02:24:34.449Z (2 months ago)
- Topics: brotli, compression, decompression, deflate, dna-compression, dnac-sbe, huffman-coding, move-to-front, run-length-encoding, snappy, swift
- Language: Swift
- Homepage:
- Size: 151 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swift Compression
Standalone compression & decompression library.
## Techniques
### Compression and decompression
- [Brotli](https://github.com/google/brotli)
- [DEFLATE](https://www.rfc-editor.org/rfc/rfc1951)
- [DNA Binary Encoding](https://en.wikipedia.org/wiki/DNA_digital_data_storage)
- [DNA Single-Block Encoding](https://www.mdpi.com/1999-4893/13/4/99)
- [Huffman Coding](https://en.wikipedia.org/wiki/Huffman_coding)
- [iWork Archive](https://en.wikipedia.org/wiki/IWork)
- [LZ77 & LZ78](https://en.wikipedia.org/wiki/LZ77_and_LZ78)
- [Move-to-front](https://en.wikipedia.org/wiki/Move-to-front_transform)
- [Run-Length Encoding](https://en.wikipedia.org/wiki/Run-length_encoding)
- [Snappy](https://github.com/google/snappy)
- [Snappy Framed](https://github.com/google/snappy/blob/main/framing_format.txt)
- [Zstd](https://github.com/facebook/zstd)### Minification
- CSS
- JavaScript
- Swift## Getting starting
coming soon...
### Products
The products are broken up into their respective algorithms, but the __SwiftCompression__ product includes all of them and is the recommended one to use in your projects.
- SwiftCompression
- SwiftCompressionCSS
- SwiftCompressionDNA
- SwiftCompressionJavaScript
- SwiftCompressionLZ
- SwiftCompressionSnappy## Contributing
Create a PR.