{"id":19042134,"url":"https://github.com/writetome51/error-if-not-primitive-or-array","last_synced_at":"2026-06-26T09:32:02.035Z","repository":{"id":122062387,"uuid":"180289013","full_name":"writetome51/error-if-not-primitive-or-array","owner":"writetome51","description":"Function triggers error if argument is neither a primitive type or array","archived":false,"fork":false,"pushed_at":"2019-04-09T05:10:30.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T22:45:08.052Z","etag":null,"topics":["array","error","javascript","message","not","primitive"],"latest_commit_sha":null,"homepage":null,"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/writetome51.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-09T05:08:21.000Z","updated_at":"2019-04-09T05:10:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"d19566ca-b6b4-4301-b424-7c672c06218b","html_url":"https://github.com/writetome51/error-if-not-primitive-or-array","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/writetome51/error-if-not-primitive-or-array","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Ferror-if-not-primitive-or-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Ferror-if-not-primitive-or-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Ferror-if-not-primitive-or-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Ferror-if-not-primitive-or-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writetome51","download_url":"https://codeload.github.com/writetome51/error-if-not-primitive-or-array/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Ferror-if-not-primitive-or-array/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34811915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"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":["array","error","javascript","message","not","primitive"],"created_at":"2024-11-08T22:35:21.009Z","updated_at":"2026-06-26T09:32:02.016Z","avatar_url":"https://github.com/writetome51.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## errorIfNotPrimitiveOrArray(arg): void\n\nTriggers a fatal error if `arg` is not a primitive (number, boolean, or string)   \nor array.\n\n### Installation\n`npm i  error-if-not-primitive-or-array`\n\n### Loading\n```\n// if using TypeScript:\nimport {errorIfNotPrimitiveOrArray} from 'error-if-not-primitive-or-array';\n// if using ES5 JavaScript:\nvar errorIfNotPrimitiveOrArray = \n\trequire('error-if-not-primitive-or-array').errorIfNotPrimitiveOrArray;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Ferror-if-not-primitive-or-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwritetome51%2Ferror-if-not-primitive-or-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Ferror-if-not-primitive-or-array/lists"}