{"id":18925061,"url":"https://github.com/brian-gl/apiutils","last_synced_at":"2025-06-14T16:40:09.531Z","repository":{"id":231622931,"uuid":"782080937","full_name":"Brian-GL/ApiUtils","owner":"Brian-GL","description":"Set of functionalities, services, extensions and code optimizations useful in day-to-day API coding.","archived":false,"fork":false,"pushed_at":"2024-04-16T01:43:02.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T17:45:06.490Z","etag":null,"topics":["api","csharp","netcore"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brian-GL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-04T15:46:57.000Z","updated_at":"2024-04-04T15:53:59.000Z","dependencies_parsed_at":"2024-12-31T17:45:10.885Z","dependency_job_id":"9c7a882a-789e-4012-b843-053dd5ed3641","html_url":"https://github.com/Brian-GL/ApiUtils","commit_stats":null,"previous_names":["brian-gl/apiutils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-GL%2FApiUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-GL%2FApiUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-GL%2FApiUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-GL%2FApiUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brian-GL","download_url":"https://codeload.github.com/Brian-GL/ApiUtils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921844,"owners_count":19718844,"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":["api","csharp","netcore"],"created_at":"2024-11-08T11:09:05.679Z","updated_at":"2025-02-20T22:15:13.797Z","avatar_url":"https://github.com/Brian-GL.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Api Utils\n\nSet of functionalities, services, extensions and code optimizations useful in day-to-day API coding using C# coding.\n\n## Extension methods\n\n### String\n\n* **Available**: Returns new non nullable string value from nullable one.\n* **Capitalize**: Capitalizes string value.\n* **HashAsync**: Hash string value using SHA512 algorithm.\n* **IsMatch**: Validates if string value is match from regex pattern.\n* **IsNullEmptyOrBlank**: Validates if string value is null, empty or full with white spaces.\n* **IsNullOrEmpty**: Validates if string value is null or empty.\n* **Like**: Defines a SQL like  function to search for a specified pattern in string value.\n* **ToArray**: Converts string value to char array.\n* **ToByteArray**: Converts string value to byte array.\n* **ToDateTime**: Converts string value to DateTime value.\n* **ToDecimal**: Converts string value to Decimal value.\n* **ToDouble**: Converts string value to Double value.\n* **ToFloat**: Converts string value to Float value.\n* **ToInt**: Converts string value to Int value.\n* **ToLinkedList**: Converts string value to LinkedList value.\n* **ToList**: Converts string value to List value.\n* **ToLong**: Converts string value to Long value.\n* **ToLowercase**: Creates a copy of string value in lower case.\n* **ToShort**: Converts string value to Short value.\n* **ToUppercase**: Creates a copy of string value in upper case.\n* **WithoutDiacritics**: Removes diacriticts from string value.\n\n## Utilities\n\n### Pdf\n\n* **Encrypt**: Encrypts pdf from MemoryStream value.\n\n\n## Disclaimer\n\nThis project uses the follow NuGET packages, thanks for the use:\n\n* [**ClosedXML**](https://github.com/ClosedXML/ClosedXML)\n* [**FluentValidation**](https://docs.fluentvalidation.net/)\n* [**GTranslate**](https://github.com/d4n3436/GTranslate)\n* [**log4net**](https://logging.apache.org/log4net/)\n* [**MongoDB.Driver**](https://www.mongodb.com/docs/drivers/csharp/current/)\n* [**Newtonsoft.Json**](https://www.newtonsoft.com/json)\n* [**PdfSharp**](https://docs.pdfsharp.net/)\n* [**SixLabors.Fonts**](https://github.com/SixLabors/Fonts)\n* [**SixLabors.ImageSharp.Drawing**](https://github.com/SixLabors/ImageSharp.Drawing)\n* [**SpanJson**](https://github.com/Tornhoof/SpanJson)\n* [**ZString**](https://github.com/Cysharp/ZString) \n\n\n\u003cb\u003e\u003ci\u003eStill in development\u003c/i\u003e\u003c/b\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-gl%2Fapiutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrian-gl%2Fapiutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-gl%2Fapiutils/lists"}