{"id":41779333,"url":"https://github.com/drone/funcmap","last_synced_at":"2026-01-25T03:34:52.297Z","repository":{"id":45978172,"uuid":"209380614","full_name":"drone/funcmap","owner":"drone","description":"Template functions for Go templates","archived":false,"fork":false,"pushed_at":"2024-02-27T16:06:14.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T02:59:18.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-09-18T18:45:10.000Z","updated_at":"2024-07-15T07:06:20.000Z","dependencies_parsed_at":"2024-06-19T00:13:31.068Z","dependency_job_id":"f09fee19-fce0-4a81-9680-2a0cc40118b1","html_url":"https://github.com/drone/funcmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drone/funcmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Ffuncmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Ffuncmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Ffuncmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Ffuncmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone","download_url":"https://codeload.github.com/drone/funcmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Ffuncmap/sbom","scorecard":{"id":356660,"data":{"date":"2025-08-11","repo":{"name":"github.com/drone/funcmap","commit":"7e19e9cd5a1c2918bd38829cc1c8a472627909bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"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":"Code-Review","score":1,"reason":"Found 2/20 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":"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":"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":"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":"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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"}}]},"last_synced_at":"2025-08-18T09:45:50.323Z","repository_id":45978172,"created_at":"2025-08-18T09:45:50.324Z","updated_at":"2025-08-18T09:45:50.324Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-25T03:34:51.678Z","updated_at":"2026-01-25T03:34:52.292Z","avatar_url":"https://github.com/drone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This package aims to provide an independent implementation of the Hugo template functions.\nhttps://gohugo.io/functions/ ([view source](https://github.com/gohugoio/hugo/tree/7f47b99ea9a7ba7759c4f9424fedd4591e6da497/tpl))\n\n## Usage\n\nImport the package:\n\n```\nimport \"github.com/drone/funcmap\"\n```\n\nProvide the Funcmap when compiling your templates:\n\n```\nt, err := template.New(\"_\").Funcs(funcmap.Funcs).Parse(text)\n```\n\n## Functions\n\n### Crypto Functions\n\n* [`md5`](https://gohugo.io/functions/crypto/md5/)\n* [`sha1`](https://gohugo.io/functions/crypto/sha1/)\n* [`sha256`](https://gohugo.io/functions/crypto/sha256/)\n\n### Encoding Functions\n\n* [`base64Decode`](https://gohugo.io/functions/encoding/base64decode/)\n* [`base64Encode`](https://gohugo.io/functions/encoding/base64encode/)\n* [`jsonify`](https://gohugo.io/functions/encoding/jsonify/)\n* [`jsonEncode`](https://gohugo.io/functions/encoding/jsonify/)\n* `jsonDecode`\n* `yamlEncode`\n* `yamlDecode`\n\n### Date Functions\n\n* [`dateFormat`](https://gohugo.io/functions/time/format/)\n* [`now`](https://gohugo.io/functions/time/now/)\n* [`time`](https://gohugo.io/functions/time/astime/)\n\n### OS Functions\n\n* [`fileExists`](https://gohugo.io/functions/os/fileexists/)\n* [`getenv`](https://gohugo.io/functions/os/getenv/)\n* [`readDir`](https://gohugo.io/functions/os/readdir/)\n* [`readFile`](https://gohugo.io/functions/os/readfile/)\n* [`stat`](https://gohugo.io/functions/os/stat/)\n\n### String Functions\n\n* `append`\n* [`chomp`](https://gohugo.io/functions/strings/chomp/)\n* [`contains`](https://gohugo.io/functions/strings/contains/)\n* [`containsAny`](https://gohugo.io/functions/strings/containsany/)\n* [`findRE`](https://gohugo.io/functions/strings/findre/)\n* [`firstUpper`](https://gohugo.io/functions/strings/firstupper/)\n* [`hasPrefix`](https://gohugo.io/functions/strings/hasprefix/)\n* [`hasSuffix`](https://gohugo.io/functions/strings/hassuffix/)\n* [`lower`](https://gohugo.io/functions/strings/tolower/)\n* `padLeft`\n* `padRight`\n* `prepend`\n* [`repeat`](https://gohugo.io/functions/strings/repeat/)\n* [`replace`](https://gohugo.io/functions/strings/replace/)\n* [`replaceRE`](https://gohugo.io/functions/strings/replacere/)\n* [`slicestr`](https://gohugo.io/functions/strings/slicestring/)\n* [`split`](https://gohugo.io/functions/strings/split/)\n* `splitn`\n* [`title`](https://gohugo.io/functions/strings/title/)\n* [`trim`](https://gohugo.io/functions/strings/trim/)\n* [`trimLeft`](https://gohugo.io/functions/strings/trimleft/)\n* [`trimRight`](https://gohugo.io/functions/strings/trimright/)\n* [`trimPrefix`](https://gohugo.io/functions/strings/trimprefix/)\n* [`trimSuffix`](https://gohugo.io/functions/strings/trimsuffix/)\n* [`upper`](https://gohugo.io/functions/strings/toupper/)\n\n### Transform Functions\n\n* [`htmlEscape`](https://gohugo.io/functions/transform/htmlescape/)\n* [`htmlUnescape`](https://gohugo.io/functions/transform/htmlunescape/)\n\n### URL Functions\n\n* [`urlize`](https://gohugo.io/functions/urls/urlize/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Ffuncmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone%2Ffuncmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Ffuncmap/lists"}