{"id":18656062,"url":"https://github.com/geometryzen/eigenmathts","last_synced_at":"2026-01-23T03:53:17.521Z","repository":{"id":212974465,"uuid":"732752773","full_name":"geometryzen/eigenmathts","owner":"geometryzen","description":"A port of eigenmath to TypeScript and EcmaScript modules","archived":false,"fork":false,"pushed_at":"2024-10-08T14:05:20.000Z","size":2346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T16:51:26.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/geometryzen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2023-12-17T18:04:01.000Z","updated_at":"2024-10-08T14:05:12.000Z","dependencies_parsed_at":"2024-01-06T18:39:16.977Z","dependency_job_id":"3a115fd1-6842-4878-a0ed-1b0c24bb1ea0","html_url":"https://github.com/geometryzen/eigenmathts","commit_stats":null,"previous_names":["geometryzen/eigenmathts"],"tags_count":39,"template":false,"template_full_name":"geometryzen/my-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Feigenmathts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Feigenmathts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Feigenmathts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Feigenmathts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geometryzen","download_url":"https://codeload.github.com/geometryzen/eigenmathts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248449890,"owners_count":21105582,"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-11-07T07:21:44.035Z","updated_at":"2026-01-23T03:53:17.423Z","avatar_url":"https://github.com/geometryzen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eigenmathts\n\nEigenmath in TypeScript with EcmaScript modules\n\n[![version](https://img.shields.io/npm/v/@geometryzen/eigenmathts.svg)](https://www.npmjs.com/package/@geometryzen/eigenmathts) \n\n[![npm downloads](https://img.shields.io/npm/dm/@geometryzen/eigenmathts.svg)](https://npm-stat.com/charts.html?package=@geometryzen/eigenmathts\u0026from=2022-09-01)\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)\n\n`eigenmathts` is a Javascript program for evaluating Eigenmath scripts in a browser.\n\nScripts are read from `document.getElementById(\"stdin\").value`\n\nResults are written to `document.getElementById(\"stdout\").innerHTML`\n\nFor a STEMCstudio example (click [here](https://www.stemcstudio.com/gists/aa8013930a6319728967b566c38b1eb3) to try)\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\" /\u003e\n    \u003cbase href=\"/\"\u003e\n    \u003ctitle\u003e\u003c/title\u003e\n    \u003c!-- link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css\" /--\u003e\n    \u003clink rel=\"stylesheet\" href=\"style.css\"\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e\n\n    \u003ctextarea id=\"stdin\" rows=\"24\" cols=\"80\" style=\"font-family:courier;font-size:1em\" spellcheck=\"false\"\u003e\u003c/textarea\u003e\n\n    \u003cbutton id=\"btn-run\"\u003eRun\u003c/button\u003e\u003cbr\u003e\n\n    \u003cdiv id=\"stdout\"\u003e\u003c/div\u003e\n\u003c/body\u003e\n\n\u003c/html\u003e\n```\n\n```typescript\nimport { run } from '@geometryzen/eigenmathts'\n\nconst stdin = document.getElementById(\"stdin\") as HTMLTextAreaElement\n\nstdin.value = [\n    `f=sin(x)/x`,\n    `f`,\n    `yrange=(-1,1)`,\n    `draw(f,x)`\n].join('\\n').trim()\n\nconst btnRun = document.getElementById(\"btn-run\") as HTMLElement\n\nbtnRun.onclick = run\n\nwindow.onunload = function() {\n    // Write your application cleanup code here.\n}\n\n// Used to ensure that this file is treated as a module.\nexport { }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometryzen%2Feigenmathts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeometryzen%2Feigenmathts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometryzen%2Feigenmathts/lists"}