{"id":17429811,"url":"https://github.com/umakantp/jsmart-express","last_synced_at":"2026-03-09T16:02:58.275Z","repository":{"id":26479707,"uuid":"108128158","full_name":"umakantp/jsmart-express","owner":"umakantp","description":"Use jsmart, with partials, in Express 3","archived":false,"fork":false,"pushed_at":"2023-03-06T03:16:57.000Z","size":448,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T09:12:42.271Z","etag":null,"topics":["expressjs","expressjs-templating-engine","jsmart","smarty-templates"],"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/umakantp.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":"2017-10-24T13:07:51.000Z","updated_at":"2021-09-05T08:08:59.000Z","dependencies_parsed_at":"2024-10-21T12:07:04.449Z","dependency_job_id":null,"html_url":"https://github.com/umakantp/jsmart-express","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/umakantp/jsmart-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umakantp%2Fjsmart-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umakantp%2Fjsmart-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umakantp%2Fjsmart-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umakantp%2Fjsmart-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umakantp","download_url":"https://codeload.github.com/umakantp/jsmart-express/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umakantp%2Fjsmart-express/sbom","scorecard":{"id":908301,"data":{"date":"2025-08-11","repo":{"name":"github.com/umakantp/jsmart-express","commit":"bddd2680bd67fc3068a5576d42b97e6bb10dfd63"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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 2/21 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":"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":"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":"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-j383-35pm-c5h4","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-24T18:12:42.413Z","repository_id":26479707,"created_at":"2025-08-24T18:12:42.413Z","updated_at":"2025-08-24T18:12:42.413Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":["expressjs","expressjs-templating-engine","jsmart","smarty-templates"],"created_at":"2024-10-17T07:09:53.707Z","updated_at":"2026-03-09T16:02:58.172Z","avatar_url":"https://github.com/umakantp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The jSmart Express\njSmart Express lets you use jSmart (Smarty template engine) and Express (at least version 3) together, including auto-loading partials.\n\n[![Build Status](https://travis-ci.org/umakantp/jsmart-express.png?branch=master)](https://travis-ci.org/umakantp/jsmart-express)\n[![npm version](https://img.shields.io/npm/v/jsmart-express.svg)](https://www.npmjs.com/package/jsmart-express)\n[![David](https://img.shields.io/david/umakantp/jsmart-express.svg)](https://www.npmjs.com/package/jsmart-express)\n[![David](https://img.shields.io/david/dev/umakantp/jsmart-express.svg)](https://www.npmjs.com/package/jsmart-express)\n[![npm](https://img.shields.io/npm/l/jsmart-express.svg)](https://github.com/umakantp/jsmart-express/blob/master/LICENSE)\n\n\n## Usage\n```js\nvar jsmartExpress = require('jsmart-express');\n\n// Register '.smarty' extension with The Mustache Express\napp.engine('smarty', jsmartExpress());\n\napp.set('view engine', 'smarty');\napp.set('views', __dirname + '/views');\n```\n\n## Parameters\n\nThe mustacheExpress method can take one parameter: the directory of the partials. When a partial is requested by a template, the file will be loaded from `path.resolve(directory)`. By default, these value is determined by Express.\n\n## Properties\n\nThe return function has a `cache` parameter that is an [LRU Cache](https://github.com/isaacs/node-lru-cache).\n\n```js\nvar engine = jsmartExpress();\nvar cache = engine.cache; // Caches the full file name with some internal data.\n```\n\nNote that jSmart also has its own cache for partials. You can always use `nocache` attribute for partials for disbling jSmart cache.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumakantp%2Fjsmart-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumakantp%2Fjsmart-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumakantp%2Fjsmart-express/lists"}