{"id":19860678,"url":"https://github.com/susonicth/zigstringutil","last_synced_at":"2025-11-24T20:02:29.202Z","repository":{"id":186210627,"uuid":"674822327","full_name":"SuSonicTH/zigStringUtil","owner":"SuSonicTH","description":"a small library with little helpers for String handling","archived":false,"fork":false,"pushed_at":"2023-08-14T21:16:40.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T14:56:30.557Z","etag":null,"topics":["library","string","utility","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SuSonicTH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-08-04T21:56:52.000Z","updated_at":"2023-08-04T22:04:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"096e7638-6a5f-445c-ac3c-68921ee3109f","html_url":"https://github.com/SuSonicTH/zigStringUtil","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"6115e50173b0bbc511d9434888f617fb40d051d6"},"previous_names":["susonicth/zigstringutil"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2FzigStringUtil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2FzigStringUtil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2FzigStringUtil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2FzigStringUtil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuSonicTH","download_url":"https://codeload.github.com/SuSonicTH/zigStringUtil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241263172,"owners_count":19936055,"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":["library","string","utility","zig"],"created_at":"2024-11-12T15:06:41.594Z","updated_at":"2025-11-24T20:02:29.196Z","avatar_url":"https://github.com/SuSonicTH.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"*This was my first experimentation with zig libraries, it's outdated and archived. Will not build with newer zig versions.*\n\n# zigStringUtil\n\na small library with little helpers for String handling.\n\n## Builder\n\ncan be used to concatinate strings together\n\n## Joiner\n\nsimmilar to Builder used to concatenate strings but it can add a prefix, suffix and insert delimiter\n\n## zig module\nTo use this as a module in you project create a `build.zig.zon` file, adding zigStringUtil as dependency.\n\nThe url and hash are from the current master version, tested with zig 0.11.0\n\n```zig\n.{ \n    .name = \"myProject\", \n    .version = \"0.0.1\", \n    .dependencies = .{ \n        .zigStringUtil = .{\n            .url = \"https://github.com/SuSonicTH/zigStringUtil/archive/66577eecdd273b626fe59b6d46b3349331fda632.tar.gz\",\n            .hash = \"1220024750ad8df560a590919c57725eda68f68f7756d443aa32a3a8be8ee21905a9\",\n        } \n    } \n}\n```\n\nand in your `build.zig` add the module as dependecy\n```zig\nconst zigStringUtil = b.dependency(\"zigStringUtil\", .{\n    .target = target,\n    .optimize = optimize,\n});\n```\n\nand add it as a module to your exe/lib\n```zig\n//sample exe\nconst exe = b.addExecutable(.{\n    .name = \"zli\",\n    .root_source_file = .{ .path = \"src/main.zig\" },\n    .target = target,\n    .optimize = optimize,\n});\n\n//add module\nexe.addModule(\"zigStringUtil\", zigStringUtil.module(\"zigStringUtil\"));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusonicth%2Fzigstringutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusonicth%2Fzigstringutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusonicth%2Fzigstringutil/lists"}