{"id":21688431,"url":"https://github.com/emomaxd/ff","last_synced_at":"2025-03-20T12:26:46.829Z","repository":{"id":264169553,"uuid":"887478180","full_name":"emomaxd/ff","owner":"emomaxd","description":"header-only fast-formatting library","archived":false,"fork":false,"pushed_at":"2024-11-22T11:29:51.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T12:41:26.429Z","etag":null,"topics":["c-plus-plus","format","formatting","header-only","library","open-source","standard-library","stdlib","string","stringformat"],"latest_commit_sha":null,"homepage":"","language":"C++","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/emomaxd.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":"2024-11-12T20:15:39.000Z","updated_at":"2024-12-07T13:19:12.000Z","dependencies_parsed_at":"2024-11-22T12:28:56.844Z","dependency_job_id":"639df79f-2680-40d9-b5d0-1d4fba02669e","html_url":"https://github.com/emomaxd/ff","commit_stats":null,"previous_names":["emomaxd/ff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomaxd%2Fff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomaxd%2Fff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomaxd%2Fff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomaxd%2Fff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emomaxd","download_url":"https://codeload.github.com/emomaxd/ff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244610600,"owners_count":20481021,"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":["c-plus-plus","format","formatting","header-only","library","open-source","standard-library","stdlib","string","stringformat"],"created_at":"2024-11-25T17:15:00.726Z","updated_at":"2025-03-20T12:26:46.804Z","avatar_url":"https://github.com/emomaxd.png","language":"C++","readme":"# ff - fast-format\n\n**ff** is a lightweight header-only C++ library designed to formatting strings. Customize outputs easily with placeholders and specifiers for decimal, hex, octal, binary, scientific, and more.\n\n### Usage\nNo need to build, just put ff.h into your project's include directory and you are ready to go!\n\n### Building\nIn case if you want to build the library\n```bash\nmkdir build \u0026\u0026 cd build\ncmake .. \u0026\u0026 make\n```\nAnd you can link with the static library in build/src/ named as ff\n\n### Example\n```cpp\nstd::string result = ff::format(\"Decimal: {}, Hex: {0:x}, Binary: {b}\", 255, 15);\nstd::cout \u003c\u003c result; // Output: Decimal: 255, Hex: 0xFF, Binary: 0b1111\n\n    \nstd::string result1 = ff::format(\"Pi: {.2}, Scientific: {s}\", 3.14159f, 1000.0f);\nstd::cout \u003c\u003c result1; // Output: Pi: 3.14, Scientific, 1.000000e+03\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femomaxd%2Fff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femomaxd%2Fff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femomaxd%2Fff/lists"}