{"id":9056041,"name":"vst.stringparse","ecosystem":"nuget","description":"Provides a Parse generic extension method for string that converts string to T and no boxing occurs\n``` C#\n// The following code does not occur boxing\nvar a1 = \"123\".Parse\u003cint\u003e();        // a1 == 123\nvar a3 = \"123\".Parse\u003cint?\u003e();       // a3 == 123\n```\n\n# Usage example\n``` C#\nusing System;\nusing System.Globalization;\nusing StringParse;\n\nvoid Exmaple1() {\n    _ = \"12\".Parse\u003cint\u003e();      // 12\n    // _ = \"ss\".Parse\u003cint\u003e();      // throw FormatException\n\n    // with default value, Actually call the TryParse method internally\n    _ = \"12\".ParseOr(10);     // 12\n    _ = \"ss\".ParseOr(10);     // 10\n\n    // with NumberStyles\n    _ = \"F\".Parse\u003cint\u003e(NumberStyles.HexNumber);      // 15\n\n    // parse Nullable\n    _ = \"12\".Parse\u003cint?\u003e();      // 12\n    // _ = \"ss\".Parse\u003cint?\u003e();      // throw FormatException\n\n    // TryParse\n    _ = \"12\".TryParse(out int _);      // true\n    _ = \"ss\".TryParse(out int _);      // false\n\n    // Parse Enum\n    _ = \"Saturday\".ParseEnum\u003cDayOfWeek\u003e();          // DayOfWeek.Saturday\n    _ = \"Saturday\".TryParseEnum(out DayOfWeek _);   // true\n}\n```","homepage":"https://github.com/vst-h/StringParse","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/vst-h/StringParse","keywords_array":["Generic","String","Extension","Parse","TryParse"],"namespace":null,"versions_count":7,"first_release_published_at":"2021-01-30T08:52:30.260Z","latest_release_published_at":"2023-02-05T08:50:51.157Z","latest_release_number":"2.0.0","last_synced_at":"2026-07-21T21:16:27.936Z","created_at":"2024-02-27T04:16:52.129Z","updated_at":"2026-09-21T14:17:59.075Z","registry_url":"https://www.nuget.org/packages/vst.stringparse/","install_command":"Install-Package vst.stringparse","documentation_url":null,"metadata":{"license_info":{"type":"file","text":"LICENSE","version":null},"license_url":"https://aka.ms/deprecateLicenseUrl","require_license_acceptance":false,"icon":"S.P.png","readme":"README.md","repository":{"type":null,"url":"https://github.com/vst-h/StringParse","branch":null,"commit":null},"development_dependency":false,"serviceable":false,"framework_assemblies":[],"package_types":[],"dependency_summary":{"total_dependency_groups":4,"target_frameworks":[".NETFramework4.0","net5.0",".NETStandard2.0",".NETStandard2.1"],"total_dependencies":0}},"repo_metadata":{"id":65700777,"uuid":"334321408","full_name":"vst-h/StringParse","owner":"vst-h","description":"Provides a Parse generic extension method for string that converts string to T and no boxing occurs.","archived":false,"fork":false,"pushed_at":"2023-02-06T14:04:34.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T08:26:34.554Z","etag":null,"topics":["extension-method","generic","parse","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/vst-h.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}},"created_at":"2021-01-30T03:44:39.000Z","updated_at":"2023-02-04T02:59:59.000Z","dependencies_parsed_at":"2023-02-19T08:31:21.384Z","dependency_job_id":null,"html_url":"https://github.com/vst-h/StringParse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vst-h/StringParse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vst-h","download_url":"https://codeload.github.com/vst-h/StringParse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37571914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-21T02:00:06.232Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"vst-h","name":null,"uuid":"75962510","kind":"user","description":"","email":"","website":null,"location":"China","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/75962510?u=f83ebc6e45acedd856db7273305103215469bb05\u0026v=4","repositories_count":6,"last_synced_at":"2024-04-11T17:59:15.129Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/vst-h","funding_links":[],"total_stars":0,"followers":0,"following":2,"created_at":"2024-04-11T17:59:15.717Z","updated_at":"2024-04-11T17:59:15.717Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vst-h","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vst-h/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-21T14:17:59.075Z","dependent_packages_count":0,"downloads":4659,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":33.316903729325674,"dependent_repos_count":13.819348826338206,"dependent_packages_count":18.835372714592,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":21.990541756751963},"purl":"pkg:nuget/vst.stringparse","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/nuget/vst.stringparse","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/nuget/vst.stringparse","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/nuget/vst.stringparse/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-01T02:41:01.633Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst-h%2FStringParse/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/vst.stringparse/codemeta","maintainers":[{"uuid":"vst.h","login":"vst.h","name":null,"email":null,"url":null,"packages_count":7,"html_url":"https://www.nuget.org/profiles/vst.h","role":null,"created_at":"2024-02-27T04:16:58.336Z","updated_at":"2024-02-27T04:16:58.336Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/maintainers/vst.h/packages"}]}