{"id":28331883,"url":"https://github.com/joaogsleite/mustag","last_synced_at":"2026-05-16T18:36:54.148Z","repository":{"id":57305650,"uuid":"218304620","full_name":"joaogsleite/mustag","owner":"joaogsleite","description":"Mustache templating with custom HTML tags","archived":false,"fork":false,"pushed_at":"2019-11-25T11:11:36.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T11:31:30.325Z","etag":null,"topics":["handlebars","html","html-components","html-template","mustache","templating"],"latest_commit_sha":null,"homepage":"","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/joaogsleite.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":"2019-10-29T14:18:35.000Z","updated_at":"2019-11-25T11:11:38.000Z","dependencies_parsed_at":"2022-08-28T21:02:35.388Z","dependency_job_id":null,"html_url":"https://github.com/joaogsleite/mustag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joaogsleite/mustag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogsleite%2Fmustag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogsleite%2Fmustag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogsleite%2Fmustag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogsleite%2Fmustag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaogsleite","download_url":"https://codeload.github.com/joaogsleite/mustag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogsleite%2Fmustag/sbom","scorecard":{"id":525687,"data":{"date":"2025-08-11","repo":{"name":"github.com/joaogsleite/mustag","commit":"8a97d047ef6540fdc875ed1c57db43a2f8336113"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/12 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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":"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"}}]},"last_synced_at":"2025-08-20T04:17:20.845Z","repository_id":57305650,"created_at":"2025-08-20T04:17:20.845Z","updated_at":"2025-08-20T04:17:20.845Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33114585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["handlebars","html","html-components","html-template","mustache","templating"],"created_at":"2025-05-26T19:17:42.344Z","updated_at":"2026-05-16T18:36:54.132Z","avatar_url":"https://github.com/joaogsleite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Mustag\n\nCLI tool to parse html custom components with mustache sintax to pure html views\n\n![node][node]\n[![npm version][npm-badge]][npm]\n[![dependencies Status][dependencies-badge]][dependencies]\n[![devDependencies Status][dev-dependencies-badge]][dev-dependencies]\n[![PRs Welcome][prs-badge]][prs]\n[![GitHub][license-badge]][license]\n\n## Example\n\nPlace multiple HTML components inside a folder:\n\n* top-menu.html\n\n```\n\u003cdiv class=\"top-menu\"\u003e\n  \u003cul class=\"top-menu-items\"\u003e\n    {{{children}}}\n  \u003c/ul\u003e\n\u003c/div\u003e\n```\n\n* menu-item.html\n\n```\n\u003cli class=\"menu-item\u003e\n  \u003ca href=\"{{link}}\"\u003e\n    {{name}}\n  \u003c/a\u003e\n\u003c/li\u003e\n```\n\nCreate a view that uses the custom HTML components:\n\n\n```\n...\n\u003cbody\u003e\n  \u003ctop-menu\u003e\n    \u003cmenu-item link=\"/home\" name=\"Home\" /\u003e\n    \u003cmenu-item link=\"/profile\" name=\"Profile\" /\u003e\n  \u003c/top-menu\u003e\n\u003c/body\u003e\n...\n```\n\nRun this tool to parse your view and generate this HTML:\n\n```\n...\n\u003cbody\u003e\n  \u003cdiv class=\"top-menu\"\u003e\n    \u003cul class=\"top-menu-items\"\u003e\n      \u003cli class=\"menu-item\u003e\n        \u003ca href=\"/home\"\u003e\n          Home\n        \u003c/a\u003e\n      \u003c/li\u003e\n      \u003cli class=\"menu-item\u003e\n        \u003ca href=\"/profile\"\u003e\n          Profile\n        \u003c/a\u003e\n      \u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/div\u003e\n\u003c/body\u003e\n...\n```\n\n## Install\n\n* inside your project \n\n```\nnpm install --save-dev mustag\n```\n\n* globally\n\n```\nnpm install -g mustag\n```\n\n## Using\n\n```\nmustag --components \u003cpath/to/components/folder\u003e --views \u003cpath/to/views/folder\u003e \u003cpath/to/dist/folder\u003e\n```\n\n* components folder should include sub-folders with the name of the components\n  * each sub-folder must include a html file with the same name\n  * do not choose component names equal to reserved html tags\n* views folder must should include html files that use the custom html tags\n* the compiled views will be saved inside dist folder\n\n```\n...\n\"scripts\": {\n  ...\n  \"mustag\": \"mustag --components ./components --views ./views ./dist\",\n  ...\n},\n...\n```\n\n\n\n[node]: https://img.shields.io/node/v/mustag.svg\n\n[npm-badge]: https://badge.fury.io/js/mustag.svg\n[npm]: https://badge.fury.io/js/mustag\n\n[dependencies-badge]: https://david-dm.org/joaogsleite/mustag/status.svg\n[dependencies]: https://david-dm.org/joaogsleite/mustag\n\n[dev-dependencies-badge]: https://david-dm.org/joaogsleite/mustag/dev-status.svg\n[dev-dependencies]: https://david-dm.org/joaogsleite/mustag?type=dev\n\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg\n[prs]: http://makeapullrequest.com\n\n[license-badge]: https://img.shields.io/github/license/joaogsleite/mustag.svg\n[license]: https://github.com/joaogsleite/mustag/blob/master/LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaogsleite%2Fmustag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaogsleite%2Fmustag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaogsleite%2Fmustag/lists"}