{"id":42899952,"url":"https://github.com/tonis2/kelbas","last_synced_at":"2026-01-30T15:21:19.274Z","repository":{"id":95487125,"uuid":"144827852","full_name":"tonis2/kelbas","owner":"tonis2","description":"Super small JavaScript `template-string` -\u003e DOM creating library.","archived":false,"fork":false,"pushed_at":"2019-04-29T18:24:18.000Z","size":157,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-09T21:03:18.728Z","etag":null,"topics":["dom","es6","html5","javascript","template-string"],"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/tonis2.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}},"created_at":"2018-08-15T08:36:52.000Z","updated_at":"2021-02-14T09:53:37.000Z","dependencies_parsed_at":"2023-03-26T00:35:37.711Z","dependency_job_id":null,"html_url":"https://github.com/tonis2/kelbas","commit_stats":{"total_commits":109,"total_committers":2,"mean_commits":54.5,"dds":"0.19266055045871555","last_synced_commit":"ebb568543f0bde7028e25ad3881b42168d5c2978"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tonis2/kelbas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonis2%2Fkelbas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonis2%2Fkelbas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonis2%2Fkelbas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonis2%2Fkelbas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonis2","download_url":"https://codeload.github.com/tonis2/kelbas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonis2%2Fkelbas/sbom","scorecard":{"id":893611,"data":{"date":"2025-08-11","repo":{"name":"github.com/tonis2/kelbas","commit":"ebb568543f0bde7028e25ad3881b42168d5c2978"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-qx4v-6gc5-f2vv","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T12:49:42.946Z","repository_id":95487125,"created_at":"2025-08-24T12:49:42.947Z","updated_at":"2025-08-24T12:49:42.947Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dom","es6","html5","javascript","template-string"],"created_at":"2026-01-30T15:21:19.043Z","updated_at":"2026-01-30T15:21:19.262Z","avatar_url":"https://github.com/tonis2.png","language":"JavaScript","readme":"# \u003cimg src=\"https://raw.githubusercontent.com/tonis2/kelbas/assets/kelbas.png\"\u003e Kelbas\n\n\u003e  Write JSX like code with ES6 template-strings.\n\n![gzip size](http://img.badgesize.io/https://unpkg.com/kelbas/build/kelbas.min.js?compression=gzip)\n[![Build Status](https://travis-ci.org/tonis2/kelbas.svg?branch=1.0-release)](https://travis-ci.org/tonis2/kelbas)\n\n\n#### Support matrix: ![CHROME](https://raw.githubusercontent.com/tonis2/kelbas/assets/chrome.png)\u003csub\u003e61+\u003c/sub\u003e | ![FIREFOX](https://raw.githubusercontent.com/tonis2/kelbas/assets/firefox.png)\u003csub\u003e60+\u003c/sub\u003e | ![EDGE](https://raw.githubusercontent.com/tonis2/kelbas/assets/edge.png)\u003csub\u003e16+\u003c/sub\u003e\n\n## Features\n\n* Small, less than 1KB minified.\n* Includes multiple render possibilites.\n  (as SVG, Fragment, regular Dom).\n* Fast\n* Use JSX like syntax without bundling\n\n----\n\n## How to use \n\n\n* Add script tagg to your JS file with modules enabled.\n```JS\nimport {HTML} from \"https://unpkg.com/kelbas\"\n\n// Or\n\n  npm i -D kelbas\n\n```\nAfter installtion is complete you can import functions from the library.\n\n ```JS \nimport {HTML, SVG, FRAGMENT} from \"kelbas\"\n```\n\n### Examples\n\n----\n\n##### Create a document fragment with list of elements\n```js\nconst click_event = () =\u003e {\n  window.alert(\"Click event works!\");\n}\n\nconst list = FRAGMENT`\u003cspan onclick=${click_event}\u003e\u003cstrong\u003eClick me!\u003c/strong\u003e\u003c/span\u003e\n                      \u003cspan\u003eElement2\u003c/span\u003e\n                      \u003cspan\u003eElement3\u003c/span\u003e\n                      \u003cspan\u003eElement4\u003c/span\u003e\n                      \u003cspan\u003eElement5\u003c/span\u003e\n                      \u003cspan\u003eElement6\u003c/span\u003e`\n\n\ndocument.body.appendChild(list);\n\n```\n\n##### Creating an Array of posts with click events\n```js\nconst open_post = () =\u003e {\n  window.alert(\"Open!\");\n}\n\nconst array = HTML`\u003cdiv id=\"container\"\u003e\n                      ${[\"post1\", \"post2\", \"post3\"].map(item =\u003e HTML`\u003cspan onclick=${open_post}\u003e${item}\u003c/span\u003e`)}\n                   \u003c/div\u003e`\n\n\n\ndocument.body.appendChild(array);\n```\n\n##### Creating SVG-s also possible\n```js\n\nconst circle = SVG`\u003csvg height=\"100\" width=\"100\"\u003e\n                      \u003ccircle cx=\"50\" cy=\"50\" r=\"40\" stroke=\"black\" stroke-width=\"3\" fill=\"red\" /\u003e\n                    \u003c/svg\u003e`;\n\n\ndocument.body.appendChild(circle);\n```\n\n------\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonis2%2Fkelbas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonis2%2Fkelbas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonis2%2Fkelbas/lists"}