{"id":20263983,"url":"https://github.com/luckymarmot/zstdkit","last_synced_at":"2025-04-11T02:09:38.063Z","repository":{"id":43781994,"uuid":"129310950","full_name":"luckymarmot/ZstdKit","owner":"luckymarmot","description":"An Objective-C and Swift library for Zstd (Zstandard) compression and decompression.","archived":false,"fork":false,"pushed_at":"2023-04-11T19:25:09.000Z","size":15,"stargazers_count":27,"open_issues_count":4,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T02:09:29.748Z","etag":null,"topics":["compression","objective-c","swift","zstandard","zstd"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luckymarmot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-12T21:03:34.000Z","updated_at":"2025-02-20T03:31:10.000Z","dependencies_parsed_at":"2024-11-14T11:38:42.825Z","dependency_job_id":"2e42e598-2982-4e50-9970-a46893fc3820","html_url":"https://github.com/luckymarmot/ZstdKit","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"354e4bc3d757ea42a26518293434b07465c1e8c6"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckymarmot%2FZstdKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckymarmot%2FZstdKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckymarmot%2FZstdKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckymarmot%2FZstdKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luckymarmot","download_url":"https://codeload.github.com/luckymarmot/ZstdKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328160,"owners_count":21085261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","objective-c","swift","zstandard","zstd"],"created_at":"2024-11-14T11:37:03.890Z","updated_at":"2025-04-11T02:09:38.040Z","avatar_url":"https://github.com/luckymarmot.png","language":"Objective-C","readme":"# ZstdKit\n\nAn Objective-C and Swift library for Zstd (Zstandard) compression and decompression.\n\n## Installation\n\nVia Cocoapods:\n\n```\npod 'ZstdKit'\n```\n\n## Usage\n\n### `NSData` category\n\n```objc\n// compression\n[myData compressZstd];\n\n// decompression\n[myData decompressZstd];\n```\n\n### Compressor class\n\nSimple usage\n\n```objc\n// compression\n[LMZstdCompressor compressedDataWithData:myData];\n\n// decompression\n[LMZstdCompressor decompressedDataWithData:myData];\n```\n\nCompression level\n\n```objc\n// compression\n[LMZstdCompressor compressedDataWithData:myData compressionLevel:3];\n```\n\n### Core Foundation API\n\n```c\nCF_EXPORT CFDataRef LMCreateZstdCompressedData(const void* bytes, CFIndex length, int16_t compressionLevel);\nCF_EXPORT CFDataRef LMCreateZstdDecompressedData(const void* bytes, CFIndex length);\n```\n\n## License\n\nThe original [Zstandard code](https://github.com/facebook/zstd) is licensed under the [BSD license](https://github.com/facebook/zstd/blob/dev/LICENSE). This code is licensed under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckymarmot%2Fzstdkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluckymarmot%2Fzstdkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckymarmot%2Fzstdkit/lists"}