{"id":49832406,"url":"https://github.com/dimesoftware/utilities","last_synced_at":"2026-05-13T21:36:22.473Z","repository":{"id":152118259,"uuid":"259892217","full_name":"dimesoftware/utilities","owner":"dimesoftware","description":"🧰 The missing utilities for .NET's base assemblies.","archived":false,"fork":false,"pushed_at":"2025-11-13T08:33:58.000Z","size":559,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-01T10:06:11.699Z","etag":null,"topics":["csharp","dotnet","utilities-library"],"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/dimesoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-04-29T10:16:05.000Z","updated_at":"2025-04-24T10:54:48.000Z","dependencies_parsed_at":"2024-11-14T08:23:00.356Z","dependency_job_id":"caa25224-5a59-469b-8302-7a704166b419","html_url":"https://github.com/dimesoftware/utilities","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dimesoftware/utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Futilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Futilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Futilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Futilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimesoftware","download_url":"https://codeload.github.com/dimesoftware/utilities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimesoftware%2Futilities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33001368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: 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":["csharp","dotnet","utilities-library"],"created_at":"2026-05-13T21:36:20.106Z","updated_at":"2026-05-13T21:36:22.467Z","avatar_url":"https://github.com/dimesoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"assets/logo.png?raw=true\" width=\"500\" alt=\"Logo\"\u003e\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nUtilities\n\u003c/p\u003e\n\n## Introduction\n\nAll-purpose utilities for commonly used assemblies.\n\n## Getting started\n\n- You must have Visual Studio 2019 Community or higher.\n- The dotnet cli is also highly recommended.\n\n## About this project\n\nThis project contains heaps of extension methods for common types such as `int` and `string`.\n\n## Build and Test\n\n- Run dotnet restore\n- Run dotnet build\n- Run dotnet test\n\n## Installation\n\nUse the package manager NuGet to install Dime.Utilities:\n\n`dotnet add package Dime.Utilities`\n\n## Usage\n\n```csharp\nusing System;\n\npublic void Main(params string[] args)\n{\n    string truncatedString = \"Hello world\".Truncate(7); // Returns \"Hello w\";\n\n    List\u003cint\u003e someList = new List\u003cint\u003e { 1,2,3,4,5 };\n    someList.AddIf(10, x =\u003e x \u003e 0); // Adds to the list\n    someList.AddIf(-10, x =\u003e x \u003e 0); // Doesn't add to the list\n}\n```\n\n## Contributing\n\n![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\n\nPull requests are welcome. Please check out the contribution and code of conduct guidelines.\n\n## License\n\n[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimesoftware%2Futilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimesoftware%2Futilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimesoftware%2Futilities/lists"}