{"id":28342982,"url":"https://github.com/boba-milktea/react-calculator","last_synced_at":"2025-08-17T05:06:30.326Z","repository":{"id":294681625,"uuid":"987671563","full_name":"boba-milktea/react-calculator","owner":"boba-milktea","description":"A simple calculator built with React, TypeScript, and Tailwind CSS.","archived":false,"fork":false,"pushed_at":"2025-05-21T14:27:30.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T16:18:08.987Z","etag":null,"topics":["react","small-project","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://react-calculator-boba.netlify.app/","language":"TypeScript","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/boba-milktea.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}},"created_at":"2025-05-21T12:17:41.000Z","updated_at":"2025-05-23T08:57:36.000Z","dependencies_parsed_at":"2025-05-21T15:44:46.297Z","dependency_job_id":"ee9be0a2-74be-4028-997f-c1b65e269300","html_url":"https://github.com/boba-milktea/react-calculator","commit_stats":null,"previous_names":["boba-milktea/react-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boba-milktea/react-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boba-milktea%2Freact-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boba-milktea%2Freact-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boba-milktea%2Freact-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boba-milktea%2Freact-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boba-milktea","download_url":"https://codeload.github.com/boba-milktea/react-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boba-milktea%2Freact-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270807934,"owners_count":24649346,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["react","small-project","tailwindcss","typescript"],"created_at":"2025-05-27T06:27:09.243Z","updated_at":"2025-08-17T05:06:30.318Z","avatar_url":"https://github.com/boba-milktea.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-elementary-calculator\n\n\u003e A simple and interactive calculator built using **React**, **TypeScript**, and **Tailwind CSS**.\n\n## Table of contents\n\n- [react-elementary-calculator](#react-elementary-calculator)\n  - [Table of contents](#table-of-contents)\n  - [General info](#general-info)\n  - [Screenshots](#screenshots)\n  - [Technologies](#technologies)\n  - [Code Examples](#code-examples)\n  - [Features](#features)\n  - [Status](#status)\n  - [Contact](#contact)\n\n## General info\n\n**Elementary Calculator** is a simple and responsive calculator built using **React**, **TypeScript**, and **Tailwind CSS**.  \nIt uses **mathjs** to perform accurate mathematical computations and supports basic arithmetic operations.  \nThe application features a clean, modern interface and is optimized for both desktop and mobile use.\n\n## Screenshots\n\n![calculator](./src/assets/screenshot.png)\n\n## Technologies\n\n- React\n- TypeScript\n- Tailwind CSS\n- Node.js\n- Visual Studio Code\n\n## Code Examples\n\n```js\n     {keyboardEl.map((row, index) =\u003e (\n        \u003cdiv key={index} className=\"flex w-full justify-around gap-2 p-2\"\u003e\n          {row.map((key) =\u003e (\n            \u003cButton handleClick={() =\u003e handleClick(key)} key={key}\u003e\n              {key}\n            \u003c/Button\u003e\n          ))}\n```\n\n## Features\n\n- Basic arithmetic operations:\n  - Addition (`+`)\n  - Subtraction (`-`)\n  - Multiplication (`*`)\n  - Division (`/`)\n- Clear button to reset the display\n- Real-time result display\n\n### To-do list\n\n- Add support for keyboard input\n- Improve error handling\n- Not using mathjs\n\n## Status\n\nProject is: done\n\n## Contact\n\nBy [boba-milktea](https://github.com/boba-milktea)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboba-milktea%2Freact-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboba-milktea%2Freact-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboba-milktea%2Freact-calculator/lists"}