{"id":20759389,"url":"https://github.com/imarv/option","last_synced_at":"2026-04-27T05:32:35.737Z","repository":{"id":43599145,"uuid":"267965089","full_name":"iMarv/Option","owner":"iMarv","description":"A deno module for handling null and undefined values, inspired by Rusts Option\u003cT\u003e","archived":false,"fork":false,"pushed_at":"2022-08-30T19:25:14.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T02:51:36.952Z","etag":null,"topics":["deno","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/iMarv.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}},"created_at":"2020-05-29T22:13:20.000Z","updated_at":"2022-07-06T14:32:19.000Z","dependencies_parsed_at":"2022-09-04T14:23:36.621Z","dependency_job_id":null,"html_url":"https://github.com/iMarv/Option","commit_stats":null,"previous_names":["imarv/maybe"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/iMarv/Option","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMarv%2FOption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMarv%2FOption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMarv%2FOption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMarv%2FOption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMarv","download_url":"https://codeload.github.com/iMarv/Option/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMarv%2FOption/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391220,"owners_count":25978947,"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-10-04T02:00:05.491Z","response_time":63,"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":["deno","typescript"],"created_at":"2024-11-17T09:56:45.917Z","updated_at":"2025-10-05T00:06:38.597Z","avatar_url":"https://github.com/iMarv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Note**: This is a downstream git-mirror of my personal\n[fossil](https://fossil-scm.org/) repository. Changes in git won't be sent back\nupstream.\n\n# Option\n\nDeno module inspired by Rusts `Option\u003cT\u003e` to help handling `null` and\n`undefined` in Typescript.\n\n## How to use\n\nThe main idea is to type all values that are either `T | null` or\n`T | undefined` into a unified `Option\u003cT\u003e` and to handle either cases with the\nhelp of `match()` and the `Matcher` class.\n\nThis allows solid type/null safety in your project without the fear of\n`cannot read property name of undefined`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarv%2Foption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimarv%2Foption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarv%2Foption/lists"}