{"id":16946907,"url":"https://github.com/ruthmoog/makers_middle-character-js","last_synced_at":"2025-03-21T09:18:42.834Z","repository":{"id":102204192,"uuid":"204036317","full_name":"ruthmoog/makers_middle-character-js","owner":"ruthmoog","description":"solve the middle letter kata with TDD","archived":false,"fork":false,"pushed_at":"2019-08-23T17:34:39.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T05:44:44.536Z","etag":null,"topics":[],"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/ruthmoog.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-23T16:45:08.000Z","updated_at":"2023-08-31T16:36:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4e38b6e-6f42-4da2-a5d8-c99a2b92a76a","html_url":"https://github.com/ruthmoog/makers_middle-character-js","commit_stats":null,"previous_names":["ruthmoog/makers_middle-character-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruthmoog%2Fmakers_middle-character-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruthmoog%2Fmakers_middle-character-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruthmoog%2Fmakers_middle-character-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruthmoog%2Fmakers_middle-character-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruthmoog","download_url":"https://codeload.github.com/ruthmoog/makers_middle-character-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244767797,"owners_count":20507110,"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":[],"created_at":"2024-10-13T21:45:04.679Z","updated_at":"2025-03-21T09:18:42.813Z","avatar_url":"https://github.com/ruthmoog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Middle Character Kata\n\nChallenge: return the middle character of a word. If the word's length is odd, return the middle character. If the word's length is even, return the middle 2 characters.\n\n## Acceptance Criteria\n\n- get_middle(\"test\") # =\u003e \"es\"\n- get_middle(\"testing\") # =\u003e \"t\"\n- get_middle(\"middle\") # =\u003e \"dd\"\n- get_middle(\"A\") # =\u003e \"A\"\n- get_middle(\"of\") # =\u003e \"of\"\n\n## Running the Program\n\nThe program runs in the browser console.\nOpen the `index.html` file in the browser then open the console in the developer tools.\n\n## Approach\n\nI used this kata to practise writing JavaScript and TDD with vanilla JS tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruthmoog%2Fmakers_middle-character-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruthmoog%2Fmakers_middle-character-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruthmoog%2Fmakers_middle-character-js/lists"}