{"id":23055594,"url":"https://github.com/vlazic/codewars-runner","last_synced_at":"2025-10-08T08:32:42.125Z","repository":{"id":192141268,"uuid":"686143190","full_name":"vlazic/codewars-runner","owner":"vlazic","description":"Enhance your CodeWars experience by scraping tests and running them in your own editor.","archived":false,"fork":false,"pushed_at":"2023-10-20T21:37:22.000Z","size":155,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T23:39:10.926Z","etag":null,"topics":["codewars","codewars-javascript","codewars-kata","jest","kata","katas","nodejs","playwright"],"latest_commit_sha":null,"homepage":"","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/vlazic.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,"governance":null}},"created_at":"2023-09-01T21:20:08.000Z","updated_at":"2023-09-01T21:34:08.000Z","dependencies_parsed_at":"2023-09-02T22:09:52.153Z","dependency_job_id":"27ae95db-e3f9-4838-93ae-d129072cc18b","html_url":"https://github.com/vlazic/codewars-runner","commit_stats":null,"previous_names":["vlazic/codewars-runner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fcodewars-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fcodewars-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fcodewars-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fcodewars-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlazic","download_url":"https://codeload.github.com/vlazic/codewars-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939223,"owners_count":20857922,"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":["codewars","codewars-javascript","codewars-kata","jest","kata","katas","nodejs","playwright"],"created_at":"2024-12-16T01:12:44.556Z","updated_at":"2025-10-08T08:32:42.073Z","avatar_url":"https://github.com/vlazic.png","language":"JavaScript","readme":"# Codewars Runner\n\n`codewars-runner` is a utility designed to streamline the development and testing process for CodeWars katas. Instead of writing and testing your code directly on the CodeWars website, this tool automatically scrapes example test cases from the specified kata and generates corresponding local files, allowing you to implement and test your solution in your preferred code editor.\n\n## Features\n\n1. **Automatic Test Case Generation**: Provide a CodeWars kata URL or ID, and the script will generate a `tests.spec.js` file with example test cases and a `work.js` file with the kata function template.\n\n2. **Local Development**: Implement your kata solution locally in the `work.js` file using your favorite code editor.\n\n3. **Continuous Testing**: Run Jest in watch mode to continuously monitor your code changes and update the test results in real-time.\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/vlazic/codewars-runner.git\n```\n\n2. Install the required packages:\n\n```bash\nnpm install\n```\n\n## Usage\n\n1. Generate the test files by providing a CodeWars kata URL or ID as an argument:\n\n```bash\nnpm run test \u003cKATA_URL\u003e\n```\n\nExample:\n\n```bash\nnpm run test https://www.codewars.com/kata/5b1b27c8f60e99a467000041\n# or\nnpm run test 5b1b27c8f60e99a467000041\n```\n\n2. Open the `work.js` file in your preferred code editor and start implementing your solution.\n\n3. Monitor the test results in the terminal and refine your solution until all tests pass.\n\n## Dependencies\n\n- Playwright\n- Jest\n- Axios\n- @codewars/test-compat\n\n## Author\n\nVladimir Lazić \u003ccontact@vlazic.com\u003e (https://vlazic.com/)\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fcodewars-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlazic%2Fcodewars-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fcodewars-runner/lists"}