{"id":19042134,"url":"https://github.com/writetome51/error-if-not-primitive-or-array","last_synced_at":"2026-05-08T20:30:20.210Z","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-01-02T07:26:25.176Z","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":"67843623-8ed7-483c-9815-c59f503abb3f","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100512,"owners_count":19747683,"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","error","javascript","message","not","primitive"],"created_at":"2024-11-08T22:35:21.009Z","updated_at":"2026-05-08T20:30:20.166Z","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"}