{"id":46244256,"url":"https://github.com/nsnail/nsext","last_synced_at":"2026-03-03T21:01:07.429Z","repository":{"id":54469702,"uuid":"514196617","full_name":"nsnail/NSExt","owner":"nsnail","description":"The NSExt is a .NET extension function library","archived":false,"fork":false,"pushed_at":"2025-11-24T06:07:23.000Z","size":205,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-15T12:53:58.902Z","etag":null,"topics":["extention-methods","utils-library"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/NSExt","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/nsnail.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/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":"2022-07-15T08:39:56.000Z","updated_at":"2026-02-12T00:45:38.000Z","dependencies_parsed_at":"2024-03-01T04:29:47.840Z","dependency_job_id":"6eac2f52-396c-4576-9799-5b359ef694f0","html_url":"https://github.com/nsnail/NSExt","commit_stats":null,"previous_names":["nsnail/nsext"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/nsnail/NSExt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsnail%2FNSExt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsnail%2FNSExt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsnail%2FNSExt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsnail%2FNSExt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsnail","download_url":"https://codeload.github.com/nsnail/NSExt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsnail%2FNSExt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30060624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["extention-methods","utils-library"],"created_at":"2026-03-03T21:01:06.711Z","updated_at":"2026-03-03T21:01:07.419Z","avatar_url":"https://github.com/nsnail.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ns-ext\n\n[中](README.zh-CN.md) | **En**\nThe **ns-ext** is a .NET extension function library, containing the following types of extension modules:\n\n| Features                                 | File name                          |\n|------------------------------------------|------------------------------------|\n| Byte type extension                      | ByteExtensions.cs                  |\n| Character Type Extensions                | CharExtensions.cs                  |\n| Date Type Extensions                     | DateTimeExtensions.cs              |\n| Database command type extension          | DbCommandExtensions.cs             |\n| Decimal Number Type extension            | DecimalExtensions.cs               |\n| Enumable type extension                  | EnumerableExtensions.cs            |\n| Enumeration type extension               | EnumExtensions.cs                  |\n| General type extension                   | GenericExtensions.cs               |\n| Integer type extension                   | IntExtensions.cs                   |\n| Json Serialization option type extension | JsonSerializerOptionsExtensions.cs |\n| Log type extension                       | LoggerExtensions.cs                |\n| Long integer extension                   | LongExtensions.cs                  |\n| Object type extension                    | ObjectExtensions.cs                |\n| Stream type extension                    | StreamExtensions.cs                |\n| String type extension                    | StringExtensions.cs                |\n| Prototype type extension                 | TypeExtensions.cs                  |\n| Resource locator type extension          | UriExtensions.cs                   |\n\n## Quick start\n\n### Install\n\n```shell\ndotnet add package NSExt --prerelease\n```\n\n### Example\n\n```c#\nusing NSExt.Extensions;\n\ninternal static class Program\n{\n    private class Person\n    {\n        public string Name { get; set; }\n        public int Age { get; set; }\n    }\n    public static void Main(string[] args)\n    {\n        var person =\n        \"\"\"\n{\n  \"Name\": \"Jason\",\n  \"Age\": \"30\"\n}\n\"\"\".Object\u003cPerson\u003e();\n\n        Console.WriteLine(person.Json());\n    }\n}\n```\n\n### Output\n\n```json\n{\"name\":\"Jason\",\"age\":30}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsnail%2Fnsext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsnail%2Fnsext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsnail%2Fnsext/lists"}