An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# Swift Compression

Requires at least Swift 5.9 Apache 2.0 License

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.