{"id":18408447,"url":"https://github.com/julkwel/is-empty","last_synced_at":"2025-04-12T21:45:01.066Z","repository":{"id":40416339,"uuid":"490518588","full_name":"julkwel/is-empty","owner":"julkwel","description":"Javascript library for checking if an array, string or int is empty null or 0","archived":false,"fork":false,"pushed_at":"2022-05-17T13:46:29.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-26T12:03:55.292Z","etag":null,"topics":["array","is-empty","javascript","javascript-library","object","string"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/julkwel.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":"2022-05-10T02:46:23.000Z","updated_at":"2022-05-16T08:50:05.000Z","dependencies_parsed_at":"2022-08-09T19:50:18.907Z","dependency_job_id":null,"html_url":"https://github.com/julkwel/is-empty","commit_stats":null,"previous_names":["julkwel/javascript-is-empty"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julkwel%2Fis-empty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julkwel%2Fis-empty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julkwel%2Fis-empty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julkwel%2Fis-empty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julkwel","download_url":"https://codeload.github.com/julkwel/is-empty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637833,"owners_count":21137538,"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":["array","is-empty","javascript","javascript-library","object","string"],"created_at":"2024-11-06T03:19:12.744Z","updated_at":"2025-04-12T21:45:01.033Z","avatar_url":"https://github.com/julkwel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @julkwel/is-empty :madagascar:\n\nTesting an array, string or int if is it empty null or 0\n\n## Installation :\n`yarn add @julkwel/is-empty` or `npm install @julkwel/is-empty`\n\n## Usage : \n```\nconst isEmpty = require(\"@julkwel/is-empty\");\n\nconsole.log(isEmpty(\"0\")); // output : true\nconsole.log(isEmpty(\"    \")); // output : true\nconsole.log(isEmpty(null)); // output : true\nconsole.log(isEmpty(new Map)); // output : true\nconsole.log(isEmpty(new Set)); // output : true\n\nconsole.log(isEmpty(\"10\")); // output: false\nconsole.log(isEmpty(\"a\")); // output: false\nconsole.log(isEmpty(new Map([1,2]))); // output : false\nconsole.log(isEmpty(new Set([3,1]))); // output : false\n```\n\n\n## Testing :\n`npm test` or `yarn test`\n\nFeel free to reach out to me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulkwel%2Fis-empty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulkwel%2Fis-empty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulkwel%2Fis-empty/lists"}