https://github.com/nandisomnath/zig-strings
This is a simple library for working with strings in zig like in other programming language
https://github.com/nandisomnath/zig-strings
zig zig-li zig-pack zig-package
Last synced: 5 months ago
JSON representation
This is a simple library for working with strings in zig like in other programming language
- Host: GitHub
- URL: https://github.com/nandisomnath/zig-strings
- Owner: nandisomnath
- License: mit
- Created: 2025-06-10T07:20:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-23T06:28:29.000Z (5 months ago)
- Last Synced: 2026-01-23T08:20:17.951Z (5 months ago)
- Topics: zig, zig-li, zig-pack, zig-package
- Language: Zig
- Homepage: https://nandisomnath.github.io/zig-strings/v0.3.0
- Size: 2.59 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
## Zig-Strings : A library for zig to work with strings more better way.
This is a library to make string handle easier in zig programming language.
it uses std library for making most of it's api.
Some api is experimental.
## Features
- It gives api for handling strings in easier way in zig
- Strings are handled using external allocator.
- Use most of well known std library functions for the string api.
## Installation
1. Use below command to add this library in your project.
This is the latest available version you can use any of the working version you want.
```zsh
zig fetch --save https://github.com/nandisomnath/zig-strings/archive/refs/tags/v0.3.1.tar.gz
```
1. Use below command to build.zig
```zig
const exe = b.addExecutable(.{
.name = "my_app",
.root_source_file = .{ .path = "src/main.zig" },
.target = target,
.optimize = optimize,
});
// 👇 Add the dependency
const strings_dep = b.dependency("strings", .{});
exe.root_module.addImport("strings", strings_dep.module("strings"));
```
## Contrib
- Create a issue.
- Create a pull request.
Everyone is welcome to contribute.