{"id":18905479,"url":"https://github.com/milandjurdjevic/strinum","last_synced_at":"2025-04-15T04:31:12.769Z","repository":{"id":206320490,"uuid":"716360112","full_name":"milandjurdjevic/strinum","owner":"milandjurdjevic","description":"Fast and easy conversion between enums and strings","archived":true,"fork":false,"pushed_at":"2024-05-03T22:54:01.000Z","size":498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T18:17:32.467Z","etag":null,"topics":["converter","dotnet","enum","enumeration","performance","sourcegenerator","string"],"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/milandjurdjevic.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":"2023-11-09T01:09:19.000Z","updated_at":"2024-08-18T13:42:36.000Z","dependencies_parsed_at":"2024-01-17T10:42:10.354Z","dependency_job_id":"ec1a8fce-1822-4011-9481-ff075117bb75","html_url":"https://github.com/milandjurdjevic/strinum","commit_stats":null,"previous_names":["milandjurdjevic/strinum"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milandjurdjevic%2Fstrinum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milandjurdjevic%2Fstrinum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milandjurdjevic%2Fstrinum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milandjurdjevic%2Fstrinum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milandjurdjevic","download_url":"https://codeload.github.com/milandjurdjevic/strinum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006389,"owners_count":21197263,"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":["converter","dotnet","enum","enumeration","performance","sourcegenerator","string"],"created_at":"2024-11-08T09:12:06.609Z","updated_at":"2025-04-15T04:31:12.523Z","avatar_url":"https://github.com/milandjurdjevic.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strinum [![latest version](https://img.shields.io/nuget/v/strinum)](https://www.nuget.org/packages/strinum)\n\n### Fast and easy enum conversion to strings\n\nPowerful source code generator designed to enhance your development workflow by automating the generation of\nstringification methods for enum types. This \"tool\" efficiently scans your source code, identifies used enum types,\nand generates methods that facilitate the conversion of enum members to their corresponding string\nrepresentations and vice versa.\n\n## Features\nTo read more about the library features and usage, please visit the [documentation](src/Strinum/README.md#features) link.\n\n## Benchmark\n\n| Method              |       Mean |     Error |    StdDev |   Gen0 | Allocated |\n|---------------------|-----------:|----------:|----------:|-------:|----------:|\n| Object_ToString     | 10.4174 ns | 0.0292 ns | 0.0228 ns | 0.0038 |      24 B |\n| Enum_GetName        |  4.2885 ns | 0.0143 ns | 0.0112 ns |      - |         - |\n| StringEnum_ToString |  0.5429 ns | 0.0209 ns | 0.0196 ns |      - |         - |\n\n### Legends\n\n- Mean: Arithmetic mean of all measurements\n- Error: Half of 99.9% confidence interval\n- StdDev: Standard deviation of all measurements\n- Gen0: GC Generation 0 collects per 1000 operations\n- Allocated: Allocated memory per single operation (managed only, inclusive, 1KB = 1024B)\n- 1 ns: 1 Nanosecond (0.000000001 sec)\n\n### Device\n\n- Chip: Apple M1 Pro\n- Memory: 16 GB\n- OS: Sonoma 14.1.2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilandjurdjevic%2Fstrinum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilandjurdjevic%2Fstrinum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilandjurdjevic%2Fstrinum/lists"}