{"id":31952354,"url":"https://github.com/ankita0399/string-calculator","last_synced_at":"2026-04-17T08:31:20.131Z","repository":{"id":315014528,"uuid":"1057727725","full_name":"ankita0399/string-calculator","owner":"ankita0399","description":"Incubyte Assessment - String Calculator implemented with TDD in JavaScript (Jest)","archived":false,"fork":false,"pushed_at":"2025-09-16T09:31:59.000Z","size":234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-14T13:13:53.787Z","etag":null,"topics":["javascript","jest","kata","software-craftsmanship","tdd"],"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/ankita0399.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T06:09:37.000Z","updated_at":"2025-09-16T09:32:03.000Z","dependencies_parsed_at":"2025-09-16T08:28:56.180Z","dependency_job_id":"a1df65b1-00ca-4991-a00c-4a343dd9a0bc","html_url":"https://github.com/ankita0399/string-calculator","commit_stats":null,"previous_names":["ankita0399/string-calculator-tdd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankita0399/string-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankita0399%2Fstring-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankita0399%2Fstring-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankita0399%2Fstring-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankita0399%2Fstring-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankita0399","download_url":"https://codeload.github.com/ankita0399/string-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankita0399%2Fstring-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["javascript","jest","kata","software-craftsmanship","tdd"],"created_at":"2025-10-14T13:13:42.221Z","updated_at":"2026-04-17T08:31:20.110Z","avatar_url":"https://github.com/ankita0399.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003eIncubyte Assessment\u003c/h1\u003e\n\t\u003ch2\u003eString Calculator TDD Kata\u003c/h2\u003e\n\t\u003cp\u003e\u003cem\u003eImplementation of the String Calculator kata using Test Driven Development (TDD).\u003c/em\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## Features\n\n- **Returns 0** for empty string\n- **Returns number itself** for single input\n- **Supports multiple numbers** separated by commas\n- **Supports new line** (`\\n`) as a delimiter\n- **Supports custom delimiters** (e.g., `//;\\n1;2`)\n- **Throws exception for negative numbers** (lists all negatives)\n\n---\n\n## Getting Started\n\nClone the repository and run tests locally:\n\n```bash\ngit clone https://github.com/ankita0399/string-calculator.git\ncd string-calculator\nnpm install\nnpm test\n```\n\n---\n\n## Screenshots\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"docs/tests-passing.png\" alt=\"All tests passing\" width=\"500\"/\u003e\n\t\u003cbr/\u003e\n\t\u003cb\u003eAll tests passing\u003c/b\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankita0399%2Fstring-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankita0399%2Fstring-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankita0399%2Fstring-calculator/lists"}