{"id":23092875,"url":"https://github.com/whatishedoing/whatishedoing.core","last_synced_at":"2025-08-16T10:31:24.629Z","repository":{"id":27338614,"uuid":"113501181","full_name":"WhatIsHeDoing/WhatIsHeDoing.Core","owner":"WhatIsHeDoing","description":"A library of extensions to core .NET functionality.","archived":false,"fork":false,"pushed_at":"2023-02-21T20:57:34.000Z","size":173,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"live","last_synced_at":"2025-08-01T04:28:55.444Z","etag":null,"topics":["core","dotnet","extension-methods","nuget-package"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/WhatIsHeDoing.Core/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WhatIsHeDoing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-12-07T21:39:14.000Z","updated_at":"2023-01-12T08:17:22.000Z","dependencies_parsed_at":"2024-12-16T21:39:24.441Z","dependency_job_id":"ff129e47-327c-40a3-b032-dffd5315f50a","html_url":"https://github.com/WhatIsHeDoing/WhatIsHeDoing.Core","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/WhatIsHeDoing/WhatIsHeDoing.Core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatIsHeDoing%2FWhatIsHeDoing.Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatIsHeDoing%2FWhatIsHeDoing.Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatIsHeDoing%2FWhatIsHeDoing.Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatIsHeDoing%2FWhatIsHeDoing.Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WhatIsHeDoing","download_url":"https://codeload.github.com/WhatIsHeDoing/WhatIsHeDoing.Core/tar.gz/refs/heads/live","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatIsHeDoing%2FWhatIsHeDoing.Core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270701573,"owners_count":24630868,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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"}},"keywords":["core","dotnet","extension-methods","nuget-package"],"created_at":"2024-12-16T21:39:19.287Z","updated_at":"2025-08-16T10:31:24.351Z","avatar_url":"https://github.com/WhatIsHeDoing.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatIsHeDoing.Core\n\n[![NuGet package](https://img.shields.io/nuget/v/WhatIsHeDoing.Core.svg)](https://www.NuGet.org/packages/WhatIsHeDoing.Core/ 'NuGet package')\n[![NuGet downloads](https://img.shields.io/nuget/dt/WhatIsHeDoing.Core.svg)](https://www.NuGet.org/packages/WhatIsHeDoing.Core/ 'NuGet downloads')\n[![AppVeyor Windows build status](https://ci.AppVeyor.com/api/projects/status/xshdrvqh387kqioe?svg=true)][AppVeyor]\n[![Codecov code coverage](https://codecov.io/gh/WhatIsHeDoing/WhatIsHeDoing.Core/branch/live/graph/badge.svg)](https://codecov.io/gh/WhatIsHeDoing/WhatIsHeDoing.Core 'Codecov code coverage')\n[![Travis CI Linux build status](https://Travis-ci.org/WhatIsHeDoing/WhatIsHeDoing.Core.svg)][Travis]\n[![Codenvy badge](https://codenvy.io/factory/resources/codenvy-contribute.svg)][Codenvy]\n\nA library of extensions to core .NET functionality.\n\n## 👋 Introduction\n\nThe core .NET libraries - those that are available on most .NET runtime versions and environments -\nare very feature-rich. However, there are times when you need a little helper function, and the list\nof those functions slowly grows. Rather than having disparate collections of them, this project seeks\nto group them under the `WhatIsHeDoing.Core` namespace, complete with unit tests in the `WhatIsHeDoing.Core.Tests`\nproject.\n\n## 📡 Live Demo\n\nTake a look at the editable code examples at [.NET Fiddle].\n\n## 🦮 Usage\n\n### Installing\n\nThis package is available via [NuGet].\n\n### Methods\n\n#### Extensions\n\n##### DateTime\n\n* `GetNextWeekday`: Gets the date at the next weekday supplied.\n* `PeriodsBetween`: Generates the periods between two date times.\n\n##### IEnumerable\n\n* `Aggregate`: Aggregate with the index of the current element.\n* `IterateJagged`: Flattens a collection of collections of unequal lengths after calling `ZipJagged`.\n* `Randomise`: Returns a randomised order of the collection.\n* `WhereNotNull`: Filters all null elements from a collection.\n* `ZipJagged`: Enables a collection of unequal collection lengths to be iterated together, effectively as columns.\n\n##### Integer\n\n* `ToNearestCeiling`: Rounds to the largest comparison number.\n\n##### Long\n\n* `Length`: Determines the length of a positive number.\n* `StripDigits`: Strips a specified number of digits from a number.\n\n##### Object\n\n* `AsFluent`: Calls any action fluently, such as void functions, so that calls can be chained to other\nmembers of object.\n\n##### String\n\n* `AsCurrency`: Formats a string as a currency from the current globalisation.\n* `IsTrue`: Determines whether this string can be converted to a boolean and that value is true.\n* `Parse`: Invoke a Parse method from the TResult type on the value.\n* `ToBytes`: Converts a string representation of a byte array - comma-separated values - to an actual byte array.\n* `TryParse`: Tries to invoke a Parse method from the TResult type on the value.\n\n##### Unsigned Long\n\n* `Length`: Determines the length of a number.\n* `StripDigits`: Strips a specified number of digits from a number.\n\n## ⭐ Other Projects\n\nMissing something? Have you tried these excellent projects?\n\n* [Humanizr]: Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates,\ntimes, timespans, numbers and quantities.\n* [NodaTime]: A better date and time API for .NET.\n\n## 🆘 Contributing\n\nAll contributions are greatly welcomed! Please see the [guidelines][contributing] for more information.\n\nIf you are developing locally, pull down this repo and build within Visual Studio (any edition), or\nrun `dotnet test` on any platform; the `live` branch is continuously built on both [Windows][AppVeyor]\nand [Linux][Travis]. Alternatively, create a new Codenvy workspace from my [factory][Codenvy]!\n\n![Codenvy workspace](Codenvy-WhatIsHeDoing-NuGet.png)\n\n## 👱 Authors\n\n* **Darren Hickling**: \u003chttps://darrenhickling.com/\u003e\n\n[.NET Fiddle]: https://dotnetfiddle.net/xXbTcX \"C# Online Compiler | .NET Fiddle\"\n[AppVeyor]: https://ci.AppVeyor.com/project/DarrenHickling/whatishedoing-core-e1tc9\n    \"WhatIsHeDoing.Core - AppVeyor [Windows build]\"\n[Codenvy]: https://Codenvy.io/f?id=factorynedmx40ex1ue8pdj \"Start development on Codenvy\"\n[contributing]: CONTRIBUTING.md\n[Humanizr]: http://humanizr.net/\n[NodaTime]: https://nodatime.org/\n[NuGet]: https://www.NuGet.org/packages/WhatIsHeDoing.Core/\n[Travis]: https://Travis-ci.org/WhatIsHeDoing/WhatIsHeDoing.Core\n    \"WhatIsHeDoing/WhatIsHeDoing.Core - Travis CI [Linux build]\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatishedoing%2Fwhatishedoing.core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhatishedoing%2Fwhatishedoing.core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatishedoing%2Fwhatishedoing.core/lists"}