{"id":49443566,"url":"https://github.com/zitrocode/touch-win","last_synced_at":"2026-04-29T21:09:03.311Z","repository":{"id":37476521,"uuid":"469196627","full_name":"zitrocode/touch-win","owner":"zitrocode","description":"🧑‍💻 A tool that will allow you to create multiple files using the terminal in Windows.","archived":false,"fork":false,"pushed_at":"2025-07-17T00:36:25.000Z","size":352,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T05:09:38.586Z","etag":null,"topics":["cli","command-line","command-line-app","node-touch","touch","touch-for-windows","yargs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/zitrocode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","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},"funding":{"github":"zitrocode"}},"created_at":"2022-03-12T20:47:25.000Z","updated_at":"2025-07-25T17:37:44.000Z","dependencies_parsed_at":"2025-07-17T08:30:23.270Z","dependency_job_id":"ddb0ca89-43ed-46bb-9c93-361ae88a1f83","html_url":"https://github.com/zitrocode/touch-win","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zitrocode/touch-win","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitrocode%2Ftouch-win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitrocode%2Ftouch-win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitrocode%2Ftouch-win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitrocode%2Ftouch-win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zitrocode","download_url":"https://codeload.github.com/zitrocode/touch-win/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitrocode%2Ftouch-win/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","command-line","command-line-app","node-touch","touch","touch-for-windows","yargs"],"created_at":"2026-04-29T21:09:02.305Z","updated_at":"2026-04-29T21:09:03.306Z","avatar_url":"https://github.com/zitrocode.png","language":"TypeScript","funding_links":["https://github.com/sponsors/zitrocode"],"categories":[],"sub_categories":[],"readme":"\u003cbr\u003e\n\u003cbr\u003e\n\n\u003c!-- Basic information --\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/zitrocode/touch-win\"\u003e\n    \u003cimg src=\"./images/touch-win__logo.png\" height=\"150px\" alt=\"Touch Win Logo\"\u003e\n  \u003c/a\u003e\n  \u003c!-- \u003ch3\u003eTouch Win\u003c/h3\u003e --\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\n    A tool that will allow you to create multiple files using the terminal in Windows.\n  \u003c/p\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sponsors/zitrocode\"\u003e\n      \u003cimg alt=\"GitHub Sponsors\" src=\"https://img.shields.io/github/sponsors/zitrocode?color=green\u0026style=flat-square\"\u003e\n    \u003c/a\u003e \n    \u003ca href=\"https://github.com/zitrocode/touch-win/network\"\u003e\n      \u003cimg alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/zitrocode/touch-win?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/zitrocode/touch-win/stargazers\"\u003e\n      \u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/zitrocode/touch-win?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/zitrocode/touch-win/issues\"\u003e\n      \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/zitrocode/touch-win?color=yellow\u0026style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/zitrocode/touch-win/blob/master/LICENSE\"\u003e\n      \u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/zitrocode/touch-win?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.linkedin.com/in/zitrocode\"\u003e\n      \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/touch-win?style=flat-square\"\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n  \u003cbr\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/zitrocode/touch-win/issues\"\u003e\n     \u003cstrong\u003eReport Bug\u003c/strong\u003e\n    \u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/zitrocode/touch-win/issues\"\u003e\n     \u003cstrong\u003eRequest Feature\u003c/strong\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n---\n\n\u003e If you think touch-win is a support for you, please consider making a small donation so that I can continue to allocate time to do more projects like this. \u003ca href=\"https://github.com/sponsors/zitrocode\"\u003e\u003cstrong\u003eGitHub Sponsor\u003c/strong\u003e\u003c/a\u003e.\n\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/Touch Win.png\" width=\"90%\" style=\"border-radius: 10px;\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n**[Touch Win](https://github.com/zitrocode/touch-win)** is a cli program that helps you create various files with a single command, it is inspired by the \"touch\" command found natively in Linux and Unix based operating systems. Even though there are several programs/packages in [npmjs](https://www.npmjs.com/package/touch-win) that help you get this command on Windows, **I assure you that there is no one like it**.\n\n🧠 **Don't forget** to give a ⭐ if you like this project!\n\n## ✨ Features\n\n- It allows you to generate multiple files with a single command.\n- Create folders automatically if they don't exist.\n- Allows you to generate files from a base path.\n- Allows you to generate files from a template.\n\n## 📦 Installation\n\nInstall touch-win with your package manager:\n\n```bash\nnpm install -g touch-win\n```\n\n## 🚀 Usage\n\n```bash\ntouch-win --help\n```\n\n```bash\nUsage: touch-win [options] [file ...]\n\nOptions:\n  -a, --author    Show the profile of the author of this package                                    [boolean]\n  -b, --base      Base folder to place the file(s)                                                   [string]\n  -t, --template  Template to generate files                                                         [string]\n  -v, --version   Show version number                                                               [boolean]\n  -h, --help      Show help                                                                         [boolean]\n\nExamples:\n  touch-win src/bin/cli.js src/helpers/file.js src/helpers/directory.js            Standard use\n  touch-win --base src/components/new_component Component.js Component.css         Use with option \"base\"\n  touch-win --template src/components/new_component/Component.[rn] js test.js css  Use with option \"template\"\n  touch-win --template config/webpack.[rn].js build dev common                     Use with option \"template\"\n```\n\nAs you have seen, **Touch Win** has some options that will help you create a new file:\n\n#### 👨‍💻 With Base Option:\n\nForget to write the same path for the files you want to create with this option you can do it.\n\n```bash\ntouch-win --base src/helpers/ alerts.js directory.js file.js\n```\n\n#### 👨‍💻 With Template Option:\n\nIt has a similarity with the \"Base\" option, the difference arises when you only need small changes in the names or paths of the files.\n\n```bash\ntouch-win --template config/webpack.[rn].js common dev build\n```\n\n**Note:** It's important to put `[rn]` where you want it to be replaced by the arguments.\n\n\u003cdetails\u003e\n  \u003csummary\u003eMore examples with \"template\"\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\u003cstrong\u003eChange extensions:\u003c/strong\u003e\u003c/p\u003e\n  \u003ccode\u003e\n    touch-win -t src/components/my_component.[rn] js css\n  \u003c/code\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\u003cstrong\u003eRename the file:\u003c/strong\u003e\u003c/p\u003e\n  \u003ccode\u003e\n    touch-win -t src/helpers/[rn].js alerts directory file\n  \u003c/code\u003e\n\u003c/details\u003e\n\n## 📝 License\n\nThis project is **[MIT](./LICENSE)** licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitrocode%2Ftouch-win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzitrocode%2Ftouch-win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitrocode%2Ftouch-win/lists"}