{"id":15193853,"url":"https://github.com/remigius42/algebra.ts","last_synced_at":"2026-03-05T00:37:44.815Z","repository":{"id":227657721,"uuid":"770486704","full_name":"remigius42/algebra.ts","owner":"remigius42","description":"Build, display, and solve algebraic equations.","archived":false,"fork":false,"pushed_at":"2024-03-14T13:58:12.000Z","size":935,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T01:41:52.587Z","etag":null,"topics":["algebra","equations","expressions","fractions","inequations","latex","math","solver","typescript"],"latest_commit_sha":null,"homepage":"https://remigius42.github.io/algebra.ts/","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/remigius42.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"custom":["www.buymeacoffee.com/remigius"]}},"created_at":"2024-03-11T16:29:04.000Z","updated_at":"2024-03-11T16:33:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ef0084d-d4ec-49fb-bf2c-c03056813b2a","html_url":"https://github.com/remigius42/algebra.ts","commit_stats":null,"previous_names":["remigius42/algebra.ts"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/remigius42/algebra.ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remigius42%2Falgebra.ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remigius42%2Falgebra.ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remigius42%2Falgebra.ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remigius42%2Falgebra.ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remigius42","download_url":"https://codeload.github.com/remigius42/algebra.ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remigius42%2Falgebra.ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30102501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:59:36.199Z","status":"ssl_error","status_checked_at":"2026-03-04T23:56:48.556Z","response_time":59,"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":["algebra","equations","expressions","fractions","inequations","latex","math","solver","typescript"],"created_at":"2024-09-27T22:05:26.741Z","updated_at":"2026-03-05T00:37:44.783Z","avatar_url":"https://github.com/remigius42.png","language":"TypeScript","funding_links":["www.buymeacoffee.com/remigius","https://www.buymeacoffee.com/remigius"],"categories":[],"sub_categories":[],"readme":"# algebra.ts\n\nCopyright 2024 binary poetry gmbh\n\n[![Licensed under MIT License](https://img.shields.io/github/license/remigius42/algebra.ts)](./LICENSE)\n[![Build status](https://github.com/remigius42/algebra.ts/actions/workflows/node.js.yml/badge.svg?branch=main)](https://github.com/remigius42/algebra.ts/actions/workflows/node.js.yml)\n![Current version](https://img.shields.io/github/package-json/v/remigius42/algebra.ts)\n[![Coverage Status](https://coveralls.io/repos/remigius42/algebra.ts/badge.svg?branch=main)](https://coveralls.io/r/remigius42/algebra.ts?branch=main)\n\n`algebra.ts` lets you build, display and solve algebraic equations in TypeScript\nand JavaScript.\n\nIt's a fork of [algebra.js](https://github.com/nicolewhite/algebra.js) created\nby [Nicole White](https://github.com/nicolewhite/) and you can find the original\ncopyright and license file in [LICENSE_algebra-js](./LICENSE_algebra-js).\n\n## Quick Start\n\nThis section gives a brief example on how to use the library. The library is\nassumed to be in the same directory as the HTML page containing the snippet.\nAlternatively you could load the library via a content delivery network (CDN),\nfor example\n\u003chttps://cdn.jsdelivr.net/npm/algebra.ts@0.3.0/dist/algebra-0.3.0.umd.js\u003e.\n\nPlease refer to the [full\ndocumentation](https://remigius42.github.io/algebra.ts/) for further information\nand live examples.\n\n### Using ES Modules\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { Expression, Equation } from \"algebra-x.y.z.esm.min.js\"\n\n  const expr = new Expression(\"x\")\n  expr = expr.subtract(3)\n  expr = expr.add(\"x\")\n  console.log(String(expr)) // 2x - 3\n\n  const eq = new Equation(expr, 4)\n  console.log(String(eq)) // 2x - 3 = 4\n\n  const x = eq.solveFor(\"x\")\n  console.log(\"x = \" + String(x)) // x = 7/2\n\u003c/script\u003e\n```\n\n### Using the UMD version\n\n```html\n\u003cscript src=\"algebra-x.y.z.umd.min.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n  const expr = new algebra.Expression(\"x\")\n  expr = expr.subtract(3)\n  expr = expr.add(\"x\")\n  console.log(String(expr)) // 2x - 3\n\n  const eq = new algebra.Equation(expr, 4)\n  console.log(String(eq)) // 2x - 3 = 4\n\n  const x = eq.solveFor(\"x\")\n  console.log(\"x = \" + String(x)) // x = 7/2\n\u003c/script\u003e\n```\n\n## Contributing\n\nThanks for your interest in contributing! There are many ways to contribute to\nthis project. Get started by having a look at\n[CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## Funding\n\nThis project is powered by coffee, therefore I would appreciate if you could\n\n\u003ca href=\"https://www.buymeacoffee.com/remigius\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" height=\"60\" width=\"217\" alt=\"Buy Me A Coffee\" /\u003e\u003c/a\u003e\n\nthank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremigius42%2Falgebra.ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremigius42%2Falgebra.ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremigius42%2Falgebra.ts/lists"}