{"id":60840,"library":"tinyformat","title":"tinyformat","description":"A minimal type-safe printf() replacement for C++.","status":"active","version":"2.3.0","language":"cpp","source_language":null,"source_url":null,"tags":["formatting","string","printf","header-only"],"install":[{"cmd":"vcpkg install tinyformat","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(tinyformat CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE tinyformat::tinyformat)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"tinyformat.h","correct":"#include <tinyformat.h>"}],"quickstart":{"code":"#include <tinyformat.h>\n#include <iostream>\n\nint main() {\n    std::string s = tfm::format(\"Hello %s, answer = %d\", \"world\", 42);\n    std::cout << s << '\\n';\n    return 0;\n}","lang":"cpp","description":"Format a string with type-safe printf-style syntax"},"warnings":[],"env_vars":null,"search_vec":"'c':10 'format':11 'header':15 'header-on':14 'minim':3 'printf':7,13 'replac':8 'safe':6 'string':12 'tinyformat':1 'type':5 'type-saf':4","created_at":"2026-06-17T04:29:40.093500+00:00","updated_at":"2026-06-17T04:29:40.093500+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}}