{"id":16681681,"url":"https://github.com/scottkipfer/fastify-squirrelly","last_synced_at":"2026-04-10T20:54:01.950Z","repository":{"id":35878329,"uuid":"219247718","full_name":"scottkipfer/fastify-squirrelly","owner":"scottkipfer","description":"Plugin for rendering Squirrelly Templates","archived":false,"fork":false,"pushed_at":"2022-12-10T07:52:25.000Z","size":110,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T06:08:17.780Z","etag":null,"topics":["fastify","fastify-plugin","javascript","nodejs","squirrelly-template"],"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/scottkipfer.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-11-03T03:47:51.000Z","updated_at":"2020-02-13T19:31:45.000Z","dependencies_parsed_at":"2023-01-16T08:28:52.908Z","dependency_job_id":null,"html_url":"https://github.com/scottkipfer/fastify-squirrelly","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/scottkipfer/fastify-squirrelly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkipfer%2Ffastify-squirrelly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkipfer%2Ffastify-squirrelly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkipfer%2Ffastify-squirrelly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkipfer%2Ffastify-squirrelly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottkipfer","download_url":"https://codeload.github.com/scottkipfer/fastify-squirrelly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottkipfer%2Ffastify-squirrelly/sbom","scorecard":{"id":805748,"data":{"date":"2025-08-11","repo":{"name":"github.com/scottkipfer/fastify-squirrelly","commit":"40bbe513f471b5c477d6845fcbdbaae71a8cf32e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"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":"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":"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":"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":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","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":"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":"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":"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":"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 7 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":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","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-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-xw5p-hw6r-2j98","Warn: Project is vulnerable to: GHSA-jgrh-5m3h-9c5f","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","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-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv","Warn: Project is vulnerable to: GHSA-q8j6-pwqx-pm96","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-23T11:43:10.250Z","repository_id":35878329,"created_at":"2025-08-23T11:43:10.250Z","updated_at":"2025-08-23T11:43:10.250Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31658964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"ssl_error","status_checked_at":"2026-04-10T17:19:13.364Z","response_time":98,"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":["fastify","fastify-plugin","javascript","nodejs","squirrelly-template"],"created_at":"2024-10-12T14:05:00.357Z","updated_at":"2026-04-10T20:54:01.934Z","avatar_url":"https://github.com/scottkipfer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/fastify-squirrelly.svg)](https://badge.fury.io/js/fastify-squirrelly)\n[![Build Status](https://travis-ci.org/scottkipfer/fastify-squirrelly.svg?branch=master)](https://travis-ci.org/scottkipfer/fastify-squirrelly)\n\n# fastify-squirrelly\nPlugin for rendering Squirrelly Templates\n\n\u003ca name=\"requirements\"\u003e\u003c/a\u003e\n## Requirements\n```\nnode \u003e= 6\nfastify \u003e= 2.0\n```\n\n\u003ca name=\"install\"\u003e\u003c/a\u003e\n## Install\n```\nnpm install fastify-squirrelly\n```\n\n\u003ca name=\"usage\"\u003e\u003c/a\u003e\n## Usage \n```js\nconst fastify = require('fastify')();\n\nfastify.register(require('fastify-squirrelly'));\n\nfastify.get('/', (req, reply) =\u003e {\n  reply.sqrly('template-name', {data: ...});\n});\n\nfastify.listen(3000, err =\u003e {\n  if(err) throw err;\n});\n```\n\n\u003ca name=\"options\"\u003e\u003c/a\u003e\n### Options\n  - `decorator` - change the decorator name. default `sqrly`\n  - `autoEscape` - set autoEscaping on squirrelly. default `false`\n  - `charset` - default utf-8\n  - `templates` - directory templates are read from. default (__dirname, \"/templates\")\n  - `partials` - directory partials are read from. default (__dirname, \"/partials\")\n  - `helpers` - directory helpers are read from. default (__dirname, \"/helpers\")\n  - `filters` - directory filters are read from. default (__dirname, \"/filters\")\n  - `nativeHelpers` - directory nativeHelpers are read from. default (__dirname, \"/nativeHelpers\")\n  - `debug` - Allows you to see the template data as json. default `false`\n\n\n## Examples\n\n### Hello World Example\n\nThis example covers creating a squirrelly template that renders `Hello World!` and serving it from a fastify server. The completed example can be found in examples/hello-world\n\n#### Install fastify and fastify-squirrelly\n```\nnpm install fastify fastify-squirrelly\n```\n\n#### Create the Fastify server\n```js\n// server.js\nconst fastify = require('fastify')({logger: true});\n\nfastify.register(require('fastify-squirrelly'));\n\nfastify.get('/', (req, reply) =\u003e {\n  reply.sqrly('hello', {name: 'World'});\n});\n\n\nfastify.listen(3000, err =\u003e {\n  if(err) throw err;\n});\n\n```\n\n#### Create the Squirrelly template file\ncreate a folder called templates in the same directory as the server file.\nThen create a file named hello.html in that folder.\n\n```\n.\n+-- server.js\n+-- templates\n|   +-- hello.html\n```\n\n\n```html\n\u003c!-- hello.html --\u003e\n\u003ch1\u003eHello, {{name}}!\u003c/h1\u003e\n\n```\n\n#### start the server!\n```\nnode server.js\n```\n\nOpen a browser and go to localhost:3000 and you should see `Hello, World!`.\n\nCongrats! you just rendered your first template using fastify-squirrelly.\nTry passing a value other than `'World'` and restart the server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottkipfer%2Ffastify-squirrelly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottkipfer%2Ffastify-squirrelly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottkipfer%2Ffastify-squirrelly/lists"}