{"id":19121752,"url":"https://github.com/kbrashears5/typescript-helper-functions","last_synced_at":"2025-07-15T09:02:56.339Z","repository":{"id":38411855,"uuid":"267189369","full_name":"kbrashears5/typescript-helper-functions","owner":"kbrashears5","description":"Typescript Helper Functions","archived":false,"fork":false,"pushed_at":"2024-06-01T04:11:50.000Z","size":87,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T01:17:13.139Z","etag":null,"topics":["functions","helper","helper-functions","helpers","javascript","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/kbrashears5/typescript-helper-functions#readme","language":"TypeScript","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/kbrashears5.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-27T01:18:36.000Z","updated_at":"2022-09-10T13:46:06.000Z","dependencies_parsed_at":"2024-05-01T05:30:50.048Z","dependency_job_id":"c13ee474-34ea-4c40-af4e-b58c3b0393db","html_url":"https://github.com/kbrashears5/typescript-helper-functions","commit_stats":{"total_commits":88,"total_committers":5,"mean_commits":17.6,"dds":0.5568181818181819,"last_synced_commit":"654393bf337c2bcfc1307e1a903b1c34816f0048"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/kbrashears5/typescript-helper-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Ftypescript-helper-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Ftypescript-helper-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Ftypescript-helper-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Ftypescript-helper-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbrashears5","download_url":"https://codeload.github.com/kbrashears5/typescript-helper-functions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Ftypescript-helper-functions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264688273,"owners_count":23649635,"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":["functions","helper","helper-functions","helpers","javascript","typescript"],"created_at":"2024-11-09T05:18:20.634Z","updated_at":"2025-07-15T09:02:56.294Z","avatar_url":"https://github.com/kbrashears5.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003etypescript-helper-functions\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \n\u003cb\u003eHelper functions for Typescript\u003c/b\u003e\n    \n[![CI/CD](https://github.com/kbrashears5/typescript-helper-functions/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/kbrashears5/typescript-helper-functions/actions/workflows/ci-cd.yml)\n[![codecov](https://codecov.io/gh/kbrashears5/typescript-helper-functions/branch/master/graph/badge.svg?token=2CVWSV7X7L)](https://codecov.io/gh/kbrashears5/typescript-helper-functions)\n[![npm](https://img.shields.io/npm/v/typescript-helper-functions)](https://img.shields.io/npm/v/typescript-helper-functions)\n[![npm](https://img.shields.io/npm/dt/typescript-helper-functions)](https://img.shields.io/npm/dt/typescript-helper-functions)\n\n\u003c/div\u003e\n\n## Install\n\n```\nnpm install typescript-helper-functions@latest\n```\n\n## Usage\n\n### Base Class\n\nInherit from this class to get some extra functionality\n\n```javascript\npublic class Class1 extends BaseClass{\n\n}\n```\n\n### LogHelper\n\nHelper class to log in a consistent way\n\n```javascript\nconst logHelper = new LogHelper(LogLevel.Trace);\n\nlogHelper.LogInputs('functionName', new { param1, param2 }());\n```\n\n### ObjectOperations\n\nHelper class to invoke operations on object types\n\n```javascript\nconst objectOperations = new ObjectOperations();\n\nlogHelper.ToString(true);\n```\n\n### Orchestrator\n\nHelper class to invoke operations on object types\n\n```javascript\nconst logger = new Logger(LogLevel.Trace);\n\nconst orchestrator = new Orchestrator(logger);\n\norchestrator.Orchestrate(() =\u003e {\n  console.log('function');\n});\n```\n\n## Development\n\nClone the latest and run\n\n```npm\nnpm run prep\n```\n\nto install packages and prep the git hooks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbrashears5%2Ftypescript-helper-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbrashears5%2Ftypescript-helper-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbrashears5%2Ftypescript-helper-functions/lists"}