{"id":32309271,"url":"https://github.com/naddiseo/dart-sprintf","last_synced_at":"2026-02-20T23:01:54.626Z","repository":{"id":4792533,"uuid":"5945217","full_name":"Naddiseo/dart-sprintf","owner":"Naddiseo","description":"Dart implementation of sprintf","archived":false,"fork":false,"pushed_at":"2022-10-31T05:12:21.000Z","size":154,"stargazers_count":89,"open_issues_count":4,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-23T08:34:10.809Z","etag":null,"topics":["dart","sprintf"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naddiseo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-25T04:59:18.000Z","updated_at":"2025-05-30T07:59:47.000Z","dependencies_parsed_at":"2022-08-25T22:41:33.796Z","dependency_job_id":null,"html_url":"https://github.com/Naddiseo/dart-sprintf","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/Naddiseo/dart-sprintf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naddiseo%2Fdart-sprintf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naddiseo%2Fdart-sprintf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naddiseo%2Fdart-sprintf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naddiseo%2Fdart-sprintf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naddiseo","download_url":"https://codeload.github.com/Naddiseo/dart-sprintf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naddiseo%2Fdart-sprintf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29667119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dart","sprintf"],"created_at":"2025-10-23T08:20:42.770Z","updated_at":"2026-02-20T23:01:54.621Z","avatar_url":"https://github.com/Naddiseo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dart-sprintf\n\nDart implementation of sprintf.\n\n[![Build Status](https://travis-ci.org/Naddiseo/dart-sprintf.svg?branch=master)](https://travis-ci.org/Naddiseo/dart-sprintf/)\n\n## ChangeLog\n\n[ChangeLog.md](CHANGELOG.md)\n\n## Getting Started\n\nAdd the following to your **pubspec.yaml**:\n\n```\ndependencies:\n  sprintf: \"^7.0.0\"\n```\n\nthen run **pub install**.\n\nNext, import dart-sprintf:\n\n```\nimport 'package:sprintf/sprintf.dart';\n```\n\n### Example\n\n```\nimport 'package:sprintf/sprintf.dart';\n\nvoid main() {\n\tprint(sprintf(\"%04i\", [-42]));\n\tprint(sprintf(\"%s %s\", [\"Hello\", \"World\"]));\n\tprint(sprintf(\"%#04x\", [10]));\n}\n```\n\n```\n-042\nHello World\n0x0a\n```\n\n## Limitations\n\n- Negative numbers are wrapped as 64bit ints when formatted as hex or octal.\n\nDifferences to C's printf\n\n- When using fixed point printing of numbers with large exponents, C introduces errors after 20 decimal places. Dart-printf will just print 0s.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaddiseo%2Fdart-sprintf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaddiseo%2Fdart-sprintf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaddiseo%2Fdart-sprintf/lists"}