{"id":15092393,"url":"https://github.com/yurkimus/curry","last_synced_at":"2025-07-03T05:02:59.518Z","repository":{"id":252854223,"uuid":"841640888","full_name":"yurkimus/curry","owner":"yurkimus","description":"Javascript curry utility","archived":false,"fork":false,"pushed_at":"2024-12-18T21:02:20.000Z","size":15,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T01:46:31.337Z","etag":null,"topics":["deno","functional-programming","javascript","node","utilities"],"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/yurkimus.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,"zenodo":null}},"created_at":"2024-08-12T20:14:51.000Z","updated_at":"2024-12-18T21:02:24.000Z","dependencies_parsed_at":"2024-12-04T21:25:13.662Z","dependency_job_id":"133ffb8d-a5aa-4aab-b3ea-d5c5b1148f48","html_url":"https://github.com/yurkimus/curry","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"1139d74a477dd43f68c5208b1f2221bea4bf84e2"},"previous_names":["yurkimus/curry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yurkimus/curry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkimus%2Fcurry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkimus%2Fcurry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkimus%2Fcurry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkimus%2Fcurry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yurkimus","download_url":"https://codeload.github.com/yurkimus/curry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkimus%2Fcurry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261273971,"owners_count":23133844,"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":["deno","functional-programming","javascript","node","utilities"],"created_at":"2024-09-25T11:01:21.187Z","updated_at":"2025-07-03T05:02:59.489Z","avatar_url":"https://github.com/yurkimus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Curry\n\nJavaScript curry utility.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Exports](#exports)\n  - [curry](#curry)\n- [License](#license)\n\n## Installation\n\n### npm\n\n```\nnpm install @yurkimus/curry\n```\n\n### urls\n\n```\n\"@yurkimus/curry\": \"npm:@yurkimus/curry\"\n```\n\n```\n\"@yurkimus/curry\": \"github:yurkimus/curry\"\n```\n\n```\n\"@yurkimus/curry\": \"https://raw.githubusercontent.com/yurkimus/curry/main/source/index.js\"\n```\n\n## Exports\n\n### curry\n\n#### Definition:\n\n```\ncurry :: Function -\u003e Number -\u003e Function\n```\n\n#### Example:\n\n```javascript\ncurry(\n  // predicate, no need to specify length unless using variadic function parameters\n  (a, b) =\u003e a + b,\n)(1)(2) // =\u003e 3\n\ncurry(\n  // predicate\n  (a, ...numbers) =\u003e a + numbers.reduce((x, a) =\u003e x + a, 0),\n  // specified length to handle variadic function parameters\n  2,\n)(1)(2, 3) // =\u003e 6\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurkimus%2Fcurry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurkimus%2Fcurry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurkimus%2Fcurry/lists"}