{"id":16202790,"url":"https://github.com/hejny/unundefined","last_synced_at":"2026-03-15T01:32:43.336Z","repository":{"id":55404076,"uuid":"502590150","full_name":"hejny/unundefined","owner":"hejny","description":"Proxies an object so that non of the properties will be undefined.","archived":false,"fork":false,"pushed_at":"2026-02-06T00:08:25.000Z","size":42150,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T10:16:01.772Z","etag":null,"topics":["draft","library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hejny.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-12T10:57:45.000Z","updated_at":"2026-02-06T00:08:29.000Z","dependencies_parsed_at":"2024-06-27T00:34:48.438Z","dependency_job_id":"44757d76-f76d-4f2a-85b4-c9bcd564247d","html_url":"https://github.com/hejny/unundefined","commit_stats":{"total_commits":78,"total_committers":1,"mean_commits":78.0,"dds":0.0,"last_synced_commit":"5a4dc7ea7d0508c9c7356925d1cd2f3f243fef8f"},"previous_names":[],"tags_count":144,"template":false,"template_full_name":"hejny/spacetrim","purl":"pkg:github/hejny/unundefined","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hejny%2Funundefined","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hejny%2Funundefined/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hejny%2Funundefined/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hejny%2Funundefined/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hejny","download_url":"https://codeload.github.com/hejny/unundefined/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hejny%2Funundefined/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30525359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T00:42:01.247Z","status":"ssl_error","status_checked_at":"2026-03-15T00:42:00.300Z","response_time":57,"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":["draft","library"],"created_at":"2024-10-10T09:49:18.204Z","updated_at":"2026-03-15T01:32:43.328Z","avatar_url":"https://github.com/hejny.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/hejny"],"categories":[],"sub_categories":[],"readme":"# 👻 Unundefined\n\n\u003c!--Badges--\u003e\n\u003c!--⚠️WARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src/workflows/800-badges/badges.ts so every manual change will be overwritten.--\u003e\n\n\n[![Quality of package Unundefined](https://packagequality.com/shield/unundefined.svg)](https://packagequality.com/#?package=unundefined)\n[![lint](https://github.com/hejny/unundefined/actions/workflows/lint.yml/badge.svg)](https://github.com/hejny/unundefined/actions/workflows/lint.yml)\n[![test](https://github.com/hejny/unundefined/actions/workflows/test.yml/badge.svg)](https://github.com/hejny/unundefined/actions/workflows/test.yml)\n[![Known Vulnerabilities](https://snyk.io/test/github/hejny/unundefined/badge.svg)](https://snyk.io/test/github/hejny/unundefined)\n[![Issues](https://img.shields.io/github/issues/hejny/unundefined.svg?style=flat)](https://github.com/hejny/unundefined/issues)\n\u003c!--[![License of Unundefined](https://img.shields.io/github/license/hejny/unundefined.svg?style=flat)](https://github.com/hejny/unundefined/blob/main/LICENSE)--\u003e\n\u003c!--[![NPM Version of Unundefined](https://badge.fury.io/js/unundefined.svg)](https://www.npmjs.com/package/unundefined)--\u003e\n\u003c!--[![Socket](https://socket.dev/api/badge/npm/package/unundefined)](https://socket.dev/npm/package/unundefined)--\u003e\n\n\u003c!--/Badges--\u003e\n\nProxies an object so that non of the properties will be undefined.\n\n\n\n\u003c!--Wallpaper--\u003e\n\u003c!--⚠️WARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src//workflows/315-ai-generated-wallpaper/4-aiGeneratedWallpaperUseInReadme.ts so every manual change will be overwritten.--\u003e\n[![Wallpaper of 👻 Unundefined](assets/ai/wallpaper/gallery/0a64d1f9-79db-48cb-b789-6253491840eb-0_0.png)](https://www.midjourney.com/app/jobs/0a64d1f9-79db-48cb-b789-6253491840eb)\n\u003c!--/Wallpaper--\u003e\n\n## Usage\n\n```bash\nnpm i unundefined\n```\n\n```typescript\nimport { unundefined } from 'unundefined';\n\nconst fakeWindow = unundefined(window);\n\nconsole.log(fakeWindow.contains.everything.you.want);\nconsole.log(fakeWindow.alert /* ... but also existing stuff as usual */);\n```\n\n_See more examples in [simple tests](./src/unundefined.test.ts)._\n\n\n\n\u003c!--Contributing--\u003e\n\u003c!--⚠️WARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src/workflows/810-contributing/contributing.ts so every manual change will be overwritten.--\u003e\n\n## 🖋️ Contributing\n\nI am open to pull requests, feedback, and suggestions. Or if you like this utility, you can [☕ buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md).\n\nYou can also ⭐ star the unundefined package, [follow me on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).\n\n\u003c!--/Contributing--\u003e\n\n\n\u003c!--Partners--\u003e\n\u003c!--⚠️WARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src/workflows/820-partners/partners.ts so every manual change will be overwritten.--\u003e\n\n## ✨ Partners\n\n\n\u003ca href=\"https://collboard.com/\" title=\"Collboard\"\u003e\u003cimg src=\"https://collboard.fra1.cdn.digitaloceanspaces.com/assets/18.12.1/logo-small.png#gh-light-mode-only\" alt=\"Collboard\" height=\"60\"/\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://webgpt.cz/?partner=ph\u0026utm_medium=referral\u0026utm_source=github-readme\u0026utm_campaign=partner-ph\" title=\"WebGPT\"\u003e\u003cimg src=\"https://webgpt.cz/_next/static/media/webgpt-black.8d958d25.png#gh-light-mode-only\" alt=\"WebGPT\" height=\"60\"/\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/webgptorg/promptbook\" title=\"Promptbook\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/webgptorg/promptbook/main/other/design/logo.png#gh-light-mode-only\" alt=\"Promptbook\" height=\"60\"/\u003e\u003c/a\u003e\n\n\n[Become a partner](https://www.pavolhejny.com/contact/)\n\n\u003c!--/Partners--\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhejny%2Funundefined","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhejny%2Funundefined","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhejny%2Funundefined/lists"}