{"id":21890904,"url":"https://github.com/statikbe/npm-helpers","last_synced_at":"2025-03-22T03:12:00.426Z","repository":{"id":43995579,"uuid":"239523413","full_name":"statikbe/npm-helpers","owner":"statikbe","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-13T13:06:42.000Z","size":120,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-15T11:04:36.336Z","etag":null,"topics":[],"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/statikbe.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":"2020-02-10T13:52:23.000Z","updated_at":"2023-01-09T12:37:27.000Z","dependencies_parsed_at":"2024-10-30T16:02:44.093Z","dependency_job_id":"189e1f0d-2d4f-4d50-8cd6-1b4657a54e60","html_url":"https://github.com/statikbe/npm-helpers","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.33333333333333337","last_synced_commit":"1b917cc6b854991d0e4a625f42ecc7a704e4b053"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fnpm-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fnpm-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fnpm-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fnpm-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statikbe","download_url":"https://codeload.github.com/statikbe/npm-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898458,"owners_count":20528341,"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":[],"created_at":"2024-11-28T12:18:12.557Z","updated_at":"2025-03-22T03:12:00.405Z","avatar_url":"https://github.com/statikbe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @statikbe/helpers\n\nhttps://www.npmjs.com/package/@statikbe/helpers\n\n## Installation\n\n```\nnpm install @statikbe/helpers\nyarn add @statikbe/helpers\n```\n\n## Usage\n\n```\nimport { toArray } from '@statikbe/helpers';\n\ntoArray(document.querySelector('.my-class'));\n```\n\n## Methods\n\n| method | description | returns |\n| --- | --- | --- |\n| `isIterable(obj)` | Checks if `obj` is iterable. | `Boolean` |\n| `toArray(obj)` | Converts iterable object to array, if not iterable creates array containing `obj`. | `Array` |\n| `toggle(elements [, display])` | Shows or hides target element(s). | - |\n| `trigger(elements, eventName)` | Trigger an event on element(s). | - |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatikbe%2Fnpm-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatikbe%2Fnpm-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatikbe%2Fnpm-helpers/lists"}