{"id":19753119,"url":"https://github.com/monesidn/typescript-utils","last_synced_at":"2025-02-28T01:23:00.546Z","repository":{"id":56791119,"uuid":"431566018","full_name":"monesidn/typescript-utils","owner":"monesidn","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-10T14:28:40.000Z","size":2032,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T06:34:56.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/monesidn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-11-24T17:04:27.000Z","updated_at":"2022-08-16T10:36:39.000Z","dependencies_parsed_at":"2024-01-08T15:10:39.701Z","dependency_job_id":"2c2c1692-709c-44c8-89fc-c7d3e947c798","html_url":"https://github.com/monesidn/typescript-utils","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monesidn%2Ftypescript-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monesidn%2Ftypescript-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monesidn%2Ftypescript-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monesidn%2Ftypescript-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monesidn","download_url":"https://codeload.github.com/monesidn/typescript-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241084521,"owners_count":19907117,"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":[],"created_at":"2024-11-12T02:51:38.271Z","updated_at":"2025-02-28T01:23:00.527Z","avatar_url":"https://github.com/monesidn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @monesidn/typescript-utils\n\nA collection of small utilities that I use almost everyday in TS projects. The best way to explore the project is checking the generated typedoc documentation.\n\n## ESM\n\nSince version 2.0.0 the project is using ESM as package system. This makes tree shaking work out of the box\nwith no further issue.\n\n## API\n\nYou can explore the generated API definition here:\nhttps://monesidn.github.io/typescript-utils\n\n## Most important pieces\n\nWhile there are many small utilities in this library there a few larger ones that are worth documenting here.\n\n### LoggerManager\n\nThis is a simple yet powerful logging utility. I created it because winston logger for too complicated to be used in the browser\nand I did not need advanced features. If you need a complex API do not rely on this, but if you need a quick way to handle logs with the ability of disabling selectively you'll find it useful.\n\nFor more information see:\nhttps://monesidn.github.io/typescript-utils/classes/logger_LoggerManager.LoggerManagerClass.html\n\n### TaskRunner\n\nEver had the need of running an unknown number of async task concurrently? I got you covered. The TaskRunner class does\nexactly this abstracting away all the complexity of orchestrating the workers and the error handling.\n\nFor more information see:\nhttps://monesidn.github.io/typescript-utils/classes/tasks_TaskRunner.default.html\n\n### Events\n\nI don't know you, but I'm tired of node \"event\" package. How it interacts with typescript and the fact that is not available in browser (without an external library naturally) is terrible. Well I decided to come up with my own event API loosely based on the EventEmitter class defined by Angular 2+.\n\nFor more information see:\nhttps://monesidn.github.io/typescript-utils/classes/events_EventsSource.default.html\n\n### delay\n\nThe most used utility, at least for me! See https://monesidn.github.io/typescript-utils/functions/async_delay.default.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonesidn%2Ftypescript-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonesidn%2Ftypescript-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonesidn%2Ftypescript-utils/lists"}