{"id":17137398,"url":"https://github.com/easingthemes/html-elements-list","last_synced_at":"2025-07-25T05:06:23.179Z","repository":{"id":57109601,"uuid":"163581460","full_name":"easingthemes/html-elements-list","owner":"easingthemes","description":" list all html elements in multiple files with occurrence statistic, total and per file.","archived":false,"fork":false,"pushed_at":"2018-12-30T22:24:09.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-19T13:06:23.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easingthemes.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":"2018-12-30T11:12:19.000Z","updated_at":"2020-07-22T21:27:49.000Z","dependencies_parsed_at":"2022-08-20T17:40:54.091Z","dependency_job_id":null,"html_url":"https://github.com/easingthemes/html-elements-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/easingthemes/html-elements-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fhtml-elements-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fhtml-elements-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fhtml-elements-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fhtml-elements-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easingthemes","download_url":"https://codeload.github.com/easingthemes/html-elements-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fhtml-elements-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266959620,"owners_count":24012530,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":[],"created_at":"2024-10-14T20:06:57.333Z","updated_at":"2025-07-25T05:06:23.083Z","avatar_url":"https://github.com/easingthemes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @draganfilipovic/html-elements-list\nlist all html elements in multiple files with occurrence statistic per file.\n\n## Install\n```\nnpm i @draganfilipovic/html-elements-list\n```\n\n## How to use\n```\nconst getHtmlElements = require('@draganfilipovic/html-elements-list');\n\n(async () =\u003e {\n    console.log(await getHtmlElements());\n})();\n\n//{ total: { html: 2, head: 2, body: 2, p: 3, div: 1, a: 2, br: 2, img: 2 },\n//  files: \n//   { 'test2.html': { html: 1, head: 1, body: 1, p: 2, div: 1, a: 1, br: 1, img: 1 },\n//     'test.html': { html: 1, head: 1, body: 1, p: 1, a: 1, br: 1, img: 1 } } }\n```\n\n## Parameters\n1st: path to directory, relative or absolute [optional]. \nDefault value is current working dir - `process.cwd()`.\n\n2nd: files extension [optional].\nDefault value is `.html`.\n\n```\n(async () =\u003e {\n    console.log(await getHtmlElements('./examples'));\n})();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Fhtml-elements-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasingthemes%2Fhtml-elements-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Fhtml-elements-list/lists"}