{"id":19305924,"url":"https://github.com/typed-sigterm/any","last_synced_at":"2026-05-02T22:33:01.218Z","repository":{"id":261977136,"uuid":"885880701","full_name":"typed-sigterm/any","owner":"typed-sigterm","description":"Mock anything with a Magic Object.","archived":false,"fork":false,"pushed_at":"2024-11-22T13:51:50.000Z","size":51,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T18:26:17.212Z","etag":null,"topics":["chai","jest","mock","testing","unit-testing","vitest"],"latest_commit_sha":null,"homepage":"https://jsr.io/@typed-sigterm/any","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/typed-sigterm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-09T16:30:17.000Z","updated_at":"2024-12-12T16:39:23.000Z","dependencies_parsed_at":"2025-11-16T22:01:56.213Z","dependency_job_id":null,"html_url":"https://github.com/typed-sigterm/any","commit_stats":null,"previous_names":["typed-sigterm/any"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/typed-sigterm/any","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typed-sigterm%2Fany","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typed-sigterm%2Fany/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typed-sigterm%2Fany/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typed-sigterm%2Fany/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typed-sigterm","download_url":"https://codeload.github.com/typed-sigterm/any/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typed-sigterm%2Fany/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32552366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"last_error":"SSL_read: 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":["chai","jest","mock","testing","unit-testing","vitest"],"created_at":"2024-11-10T00:03:06.796Z","updated_at":"2026-05-02T22:33:01.203Z","avatar_url":"https://github.com/typed-sigterm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Any\n\nMock anything with a Magic Object, no more `TypeError: Cannot read properties of undefined`s.\n\n## Usage\n\n```ts\nimport { assert } from '@std/assert';\nimport { any, isAny } from '@typed-sigterm/any';\n\n// Create a Any.\nconst thing = any();\n\n// Check if anything is a Any.\nassert(isAny(thing) === true);\nassert(isAny(0) === false);\n\n// You can access any property, returns a new Any.\nassert(isAny(thing.foo));\nassert(!Object.is(thing.foo, thing));\n\n// You can set any property, nothing will happen.\nthing.foo = 'bar';\nassert(isAny(thing.foo));\n\n// You can delete any property, nothing will happen.\ndelete thing.foo;\nassert(isAny(thing.foo));\n\n// ... more examples can be found in the test file:\n// https://github.com/typed-sigterm/any/blob/latest/__tests__/mod.spec.ts\n```\n\n## Compatibility\n\nThis module depends on `Proxy` support, see [Can I use](https://caniuse.com/proxy) for compatibility information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyped-sigterm%2Fany","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyped-sigterm%2Fany","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyped-sigterm%2Fany/lists"}