{"id":18990951,"url":"https://github.com/ricardobeat/taks","last_synced_at":"2026-05-07T09:31:49.358Z","repository":{"id":47999630,"uuid":"126035379","full_name":"ricardobeat/taks","owner":"ricardobeat","description":"Minimalistic ES7 async/await task runner","archived":false,"fork":false,"pushed_at":"2022-12-07T02:10:23.000Z","size":301,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T04:54:37.120Z","etag":null,"topics":["build","grunt","gulp","postcss","rollup","task-runner","tasks","tasks-automation","tool"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ricardobeat.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":"2018-03-20T14:59:15.000Z","updated_at":"2020-11-04T10:33:07.000Z","dependencies_parsed_at":"2023-01-24T12:46:14.506Z","dependency_job_id":null,"html_url":"https://github.com/ricardobeat/taks","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/ricardobeat%2Ftaks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardobeat%2Ftaks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardobeat%2Ftaks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardobeat%2Ftaks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardobeat","download_url":"https://codeload.github.com/ricardobeat/taks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002229,"owners_count":19732165,"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":["build","grunt","gulp","postcss","rollup","task-runner","tasks","tasks-automation","tool"],"created_at":"2024-11-08T17:12:13.257Z","updated_at":"2026-04-14T07:30:13.679Z","avatar_url":"https://github.com/ricardobeat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taks\n\nMinimalistic ES7 async/await based task runner. \n\nZero dependencies. It expects the consumer to provide all the necessary transforms, preserving full access to the original APIs and flexibility.\n\n## Usage\n\nCreate a `task.js` file at the root of your project:\n\n```js\nconst task = require('taks')\n\ntask('styles', async function () {\n    await postcss('./entry.css', './dist/output.css')\n})\n\ntask('scripts', async function () {\n    await rollup('./entry.js', './dist/output.js')\n})\n\ntask('build', async function () {\n    task.parallel(['scripts', 'styles'])\n})\n\ntask.run(process.argv[2])\n```\n\nThen run `node task build` to trigger the `build` task.\n\n## Transforms\n\nFor a more complete example showing more complex usage of flow control, and implemenntation of [rollup](https://ghub.io/rollup), [postcss](https://ghub.io/postcss) and [uglify](https://ghub.io/uglify-es) transforms, see this [sample task.js file](https://gist.github.com/ricardobeat/606859bfcbfbdf84a030ec32382fe202).\n\nThis is the spiritual successor of [flour](http://ricardo.cc/cake-flour) and [cake-async](https://github.com/ricardobeat/cake-async) that originally used CoffeeScript and a bit of trickery to create `async` tasks back in 2013. Inspired by [taskr](https://github.com/lukeed/taskr).\n\n## License\n\nMIT Licensed (http://ricardo.mit-license.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardobeat%2Ftaks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardobeat%2Ftaks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardobeat%2Ftaks/lists"}