{"id":17458944,"url":"https://github.com/caseywebb/taskr-rename","last_synced_at":"2026-01-30T05:03:26.120Z","repository":{"id":18376108,"uuid":"84136058","full_name":"caseyWebb/taskr-rename","owner":"caseyWebb","description":":pencil2: Rename plugin for Taskr","archived":false,"fork":false,"pushed_at":"2023-03-07T11:57:04.000Z","size":1063,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T07:12:30.628Z","etag":null,"topics":["fly-plugin","flyjs","rename","taskr","taskr-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caseyWebb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-03-07T00:41:54.000Z","updated_at":"2022-01-06T16:42:09.000Z","dependencies_parsed_at":"2024-10-20T19:48:29.948Z","dependency_job_id":null,"html_url":"https://github.com/caseyWebb/taskr-rename","commit_stats":{"total_commits":154,"total_committers":5,"mean_commits":30.8,"dds":"0.43506493506493504","last_synced_commit":"d3b1b61d442cd64325ff00c47a5bcf6e30116de6"},"previous_names":["caseywebb/fly-rename"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Ftaskr-rename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Ftaskr-rename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Ftaskr-rename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyWebb%2Ftaskr-rename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caseyWebb","download_url":"https://codeload.github.com/caseyWebb/taskr-rename/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247592113,"owners_count":20963459,"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":["fly-plugin","flyjs","rename","taskr","taskr-plugin"],"created_at":"2024-10-18T04:38:00.596Z","updated_at":"2026-01-30T05:03:21.067Z","avatar_url":"https://github.com/caseyWebb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taskr-rename\n\u003e Rename plugin for [Taskr][]\n\n**NOTE:** This repository has been renamed from fly-rename to taskr-rename. If you haven't yet migrated to [Taskr][], now is the time to do so.\n\n[![NPM][npm-shield]][npm]\n[![License][license-shield]][license]\n[![Build Status][build-status-shield]][build-status]\n[![Coverage Status][codecov-shield]][codecov]\n[![Dependency Status][david-dm-shield]][david-dm]\n\n## Install\n\n```yarn\n$ yarn add -D taskr taskr-rename\n```\n*or*\n```bash\n$ npm install --save-dev taskr taskr-rename\n```\n\n## Usage\n\n### Object\n```js\nexport default function* (task) {\n  yield task.source('./src/foo.js')\n    .rename({\n      dirname: 'dir/name',\n      basename: 'bar',\n      prefix: 'prefix-',\n      suffix: '-suffix',\n      extname: '.html'\n    })\n    .target('./dist')\n\n    // .dist/dir/name/prefix-bar-suffix.html\n}\n```\n\n### Function\n```js\nexport default function* (task) {\n  yield task.source('./src/foo.js')\n    .rename((file) =\u003e {\n      file.dirname = 'dir/name'\n      file.basename = 'bar'\n      file.extname = '.html'\n    })\n    .target('./dist')\n\n    // .dist/dir/name/bar.html\n}\n```\n\n[Taskr]: https://github.com/lukeed/taskr\n\n[npm]: https://npmjs.com/package/taskr-rename\n[npm-shield]: https://img.shields.io/npm/v/taskr-rename.svg\n\n[license]: ./LICENSE\n[license-shield]: https://img.shields.io/npm/l/taskr-rename.svg\n\n[build-status]: https://github.com/caseyWebb/taskr-rename/actions/workflows/nodejs.yml\n[build-status-shield]: https://img.shields.io/github/workflow/status/caseyWebb/taskr-rename/Node%20CI/master\n\n[codecov]: https://codecov.io/gh/caseyWebb/taskr-rename\n[codecov-shield]: https://img.shields.io/codecov/c/github/caseyWebb/taskr-rename.svg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebb%2Ftaskr-rename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaseywebb%2Ftaskr-rename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebb%2Ftaskr-rename/lists"}