{"id":16679004,"url":"https://github.com/dcoles/jsonnet-functools","last_synced_at":"2026-03-16T22:33:59.274Z","repository":{"id":68738212,"uuid":"192287320","full_name":"dcoles/jsonnet-functools","owner":"dcoles","description":"Functional programming extras for Jsonnet","archived":false,"fork":false,"pushed_at":"2019-06-18T03:59:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T01:47:54.945Z","etag":null,"topics":["jsonnet"],"latest_commit_sha":null,"homepage":null,"language":"Jsonnet","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/dcoles.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":"2019-06-17T06:25:34.000Z","updated_at":"2019-06-18T03:59:16.000Z","dependencies_parsed_at":"2023-03-30T10:17:04.039Z","dependency_job_id":null,"html_url":"https://github.com/dcoles/jsonnet-functools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fjsonnet-functools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fjsonnet-functools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fjsonnet-functools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fjsonnet-functools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcoles","download_url":"https://codeload.github.com/dcoles/jsonnet-functools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243364671,"owners_count":20279211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["jsonnet"],"created_at":"2024-10-12T13:32:34.302Z","updated_at":"2025-12-29T22:09:06.732Z","avatar_url":"https://github.com/dcoles.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonnet-functools\nFunctional programming extras for Jsonnet\n\n## Functions\n\n### functools.repeat(x, n)\nRepeat a value `x`, `n`-times.\n\n### functools.cycle(xs, n)\nRepeat a cycle of values `xs`, `n`-times.\n\n### functools.zip(xs, ys)\nZip together two arrays into an array of arrays.\n\n### functools.all(xs)\nReturns `true` iff all values in an array `xs` are `true`.\n\nShort-circuts on first `false` value found.\n\n### functools.any(xs)\nReturns `true` iff one (or more) values in an array `xs` is `true`.\n\nShort-circuts on first `true` value found.\n\n### functools.apply(func, args)\nApply `args` to function `fn`.\n\n# Licence\nApache License 2.0.\n\nSee [LICENCE](LICENCE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcoles%2Fjsonnet-functools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcoles%2Fjsonnet-functools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcoles%2Fjsonnet-functools/lists"}