{"id":16593999,"url":"https://github.com/jsdf/load-cakefile","last_synced_at":"2025-08-17T01:06:00.362Z","repository":{"id":17933992,"uuid":"20908521","full_name":"jsdf/load-cakefile","owner":"jsdf","description":"load or require the logical contents of CoffeeScript Cakefiles","archived":false,"fork":false,"pushed_at":"2014-06-17T06:09:29.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T04:04:11.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/jsdf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-17T03:08:32.000Z","updated_at":"2014-06-17T06:09:29.000Z","dependencies_parsed_at":"2022-09-02T12:31:08.078Z","dependency_job_id":null,"html_url":"https://github.com/jsdf/load-cakefile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsdf/load-cakefile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fload-cakefile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fload-cakefile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fload-cakefile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fload-cakefile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdf","download_url":"https://codeload.github.com/jsdf/load-cakefile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdf%2Fload-cakefile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270791757,"owners_count":24645818,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-11T23:44:44.451Z","updated_at":"2025-08-17T01:06:00.258Z","avatar_url":"https://github.com/jsdf.png","language":"CoffeeScript","readme":"# load-cakefile\n\nloads/requires tasks and exports from a Cakefile (because normal require() doesn't work with Cakefiles)\n\n### Example\n\n```coffee\n\nloadCakefile = require 'load-cakefile'\n\n# get logical contents of specified Cakefile including task definitions\nloadCakefile.load('./Cakefile')\n# { tasks:\n#    { 'build:lib':\n#       { name: 'build:lib',\n#         description: 'build client lib',\n#         action: [Function] },\n#      'build:ui':\n#       { name: 'build:ui',\n#         description: 'build client ui',\n#         action: [Function] },\n# ...\n\n# just get tasks\ntasks = loadCakefile.tasks('./Cakefile')\n# run a task\ntasks['build:ui'].action(options)\n\n# just get exports (eg. module.exports), like normal require()\nloadCakefile.require('./Cakefile')\n# { watchFiles: [Function],\n#   buildLib: [Function],\n#   buildUI: [Function],\n# ...\n\n# with no arguments, implicitly loads Cakefile from current working directory\nloadCakefile.load()\n# { tasks:\n#    { 'build:lib':\n#       { name: 'build:lib',\n# ...\n\n```\n\n\n### Installation\n```bash\nnpm install load-cakefile\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdf%2Fload-cakefile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdf%2Fload-cakefile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdf%2Fload-cakefile/lists"}