{"id":15395066,"url":"https://github.com/goto-bus-stop/empty-element","last_synced_at":"2025-04-16T00:05:48.232Z","repository":{"id":57224959,"uuid":"44047354","full_name":"goto-bus-stop/empty-element","owner":"goto-bus-stop","description":"Empty a DOM element.","archived":false,"fork":false,"pushed_at":"2017-04-14T18:47:00.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T00:05:21.349Z","etag":null,"topics":["dom"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/empty-element","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/goto-bus-stop.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":"2015-10-11T10:07:37.000Z","updated_at":"2019-07-15T21:49:44.000Z","dependencies_parsed_at":"2022-08-24T11:01:05.967Z","dependency_job_id":null,"html_url":"https://github.com/goto-bus-stop/empty-element","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/goto-bus-stop%2Fempty-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fempty-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fempty-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fempty-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goto-bus-stop","download_url":"https://codeload.github.com/goto-bus-stop/empty-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173084,"owners_count":21224483,"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":["dom"],"created_at":"2024-10-01T15:25:34.525Z","updated_at":"2025-04-16T00:05:48.216Z","avatar_url":"https://github.com/goto-bus-stop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# empty-element\n\nEmpty a DOM element.\n\n## Usage\n\n```js\nvar empty = require('empty-element')\nvar list = document.querySelector('ul')\n\nempty(list)\n```\n\nThe `empty` function returns the element, so you can quickly set element\ncontents by doing something like:\n\n```js\nempty(list).appendChild(makeLiElement('content'))\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-bus-stop%2Fempty-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoto-bus-stop%2Fempty-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-bus-stop%2Fempty-element/lists"}