{"id":61788,"library":"str-view","title":"str-view","description":"A simple, robust, and convenient library for read-only string handling in C.","status":"active","version":"0.7.6","language":"cpp","source_language":null,"source_url":null,"tags":["string","view","c","utility"],"install":[{"cmd":"vcpkg install str-view","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(str_view CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE str-view::str-view)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"str_view.h","correct":"#include <str_view.h>"}],"quickstart":{"code":"#include <str_view.h>\n#include <stdio.h>\n\nint main() {\n    str_view sv = str_view_from_cstr(\"Hello, world!\");\n    printf(\"%.*s\\n\", (int)sv.len, sv.data);\n    return 0;\n}","lang":"c","description":"Create and print a string view"},"warnings":[],"env_vars":null,"search_vec":"'c':17,20 'conveni':8 'handl':15 'librari':9 'read':12 'read-on':11 'robust':6 'simpl':5 'str':2 'str-view':1 'string':14,18 'util':21 'view':3,19","created_at":"2026-06-17T05:05:28.604871+00:00","updated_at":"2026-06-17T05:05:28.604871+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}