{"id":21522148,"url":"https://github.com/hugoalh/is-empty-es","last_synced_at":"2026-05-16T11:31:37.118Z","repository":{"id":229992858,"uuid":"770268956","full_name":"hugoalh/is-empty-es","owner":"hugoalh","description":"An ECMAScript module to determine whether the item is empty.","archived":false,"fork":false,"pushed_at":"2026-04-21T09:47:51.000Z","size":139,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T11:38:04.733Z","etag":null,"topics":["ecmascript","ecmascript-module","empty","es","es-module","esm","esmodule","is","javascript","js","ts","typescript"],"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/hugoalh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":"SECURITY.md","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-03-11T08:59:48.000Z","updated_at":"2026-04-21T09:48:36.000Z","dependencies_parsed_at":"2025-04-12T07:08:34.009Z","dependency_job_id":"dc0934cd-7d9b-4785-a952-155ed871dce0","html_url":"https://github.com/hugoalh/is-empty-es","commit_stats":null,"previous_names":["hugoalh-studio/is-empty-ts","hugoalh-studio/is-empty-es"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hugoalh/is-empty-es","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugoalh%2Fis-empty-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugoalh%2Fis-empty-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugoalh%2Fis-empty-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugoalh%2Fis-empty-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugoalh","download_url":"https://codeload.github.com/hugoalh/is-empty-es/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugoalh%2Fis-empty-es/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["ecmascript","ecmascript-module","empty","es","es-module","esm","esmodule","is","javascript","js","ts","typescript"],"created_at":"2024-11-24T01:09:27.122Z","updated_at":"2026-05-16T11:31:37.112Z","avatar_url":"https://github.com/hugoalh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Is Empty (ES)\n\n[**⚖️** MIT](./LICENSE.md)\n\n🔗\n[GitHub](https://github.com/hugoalh/is-empty-es)\n[JSR](https://jsr.io/@hugoalh/is-empty)\n[NPM](https://www.npmjs.com/package/@hugoalh/is-empty)\n\nAn ECMAScript module to determine whether the item is empty.\n\n## 🎯 Targets\n\n| **Runtime \\\\ Source** | **GitHub Raw** | **JSR** | **NPM** |\n|:--|:-:|:-:|:-:|\n| **[Bun](https://bun.sh/)** \u003e= v1.1.0 | ❌ | ✔️ | ✔️ |\n| **[Deno](https://deno.land/)** \u003e= v2.1.0 | ✔️ | ✔️ | ✔️ |\n| **[NodeJS](https://nodejs.org/)** \u003e= v20.9.0 | ❌ | ✔️ | ✔️ |\n\n## 🛡️ Runtime Permissions\n\nThis does not request any runtime permission.\n\n## #️⃣ Sources\n\n- GitHub Raw\n  ```\n  https://raw.githubusercontent.com/hugoalh/is-empty-es/{Tag}/mod.ts\n  ```\n- JSR\n  ```\n  jsr:@hugoalh/is-empty[@{Tag}]\n  ```\n- NPM\n  ```\n  npm:@hugoalh/is-empty[@{Tag}]\n  ```\n\n\u003e [!NOTE]\n\u003e - It is recommended to include tag for immutability.\n\u003e - These are not part of the public APIs hence should not be used:\n\u003e   - Benchmark/Test file (e.g.: `example.bench.ts`, `example.test.ts`).\n\u003e   - Entrypoint name or path include any underscore prefix (e.g.: `_example.ts`, `foo/_example.ts`).\n\u003e   - Identifier/Namespace/Symbol include any underscore prefix (e.g.: `_example`, `Foo._example`).\n\n## ⤵️ Entrypoints\n\n| **Name** | **Path** | **Description** |\n|:--|:--|:--|\n| `.` | `./mod.ts` | Default. |\n\n## 🧩 APIs\n\n- ```ts\n  function isEmpty(item: unknown): boolean;\n  ```\n\n\u003e [!NOTE]\n\u003e - For the full or prettier documentation, can visit via:\n\u003e   - [Deno CLI `deno doc`](https://docs.deno.com/runtime/reference/cli/doc/)\n\u003e   - [JSR](https://jsr.io/@hugoalh/is-empty)\n\n## ✍️ Examples\n\n- ```ts\n  isEmpty(true);\n  //=\u003e false\n  ```\n- ```ts\n  isEmpty([{}]);\n  //=\u003e false\n  ```\n- ```ts\n  isEmpty([]);\n  //=\u003e true\n  ```\n- ```ts\n  isEmpty({});\n  //=\u003e true\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoalh%2Fis-empty-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugoalh%2Fis-empty-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoalh%2Fis-empty-es/lists"}