{"id":19125298,"url":"https://github.com/maleksandar/pure-framework","last_synced_at":"2026-06-20T15:31:40.159Z","repository":{"id":42625268,"uuid":"263713541","full_name":"maleksandar/pure-framework","owner":"maleksandar","description":"Master Thesis work","archived":false,"fork":false,"pushed_at":"2023-03-06T08:49:18.000Z","size":1316,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T15:43:48.531Z","etag":null,"topics":["functional-programming","spa"],"latest_commit_sha":null,"homepage":"","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/maleksandar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-13T18:35:59.000Z","updated_at":"2021-09-27T07:41:44.000Z","dependencies_parsed_at":"2023-02-06T22:20:35.571Z","dependency_job_id":null,"html_url":"https://github.com/maleksandar/pure-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maleksandar/pure-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maleksandar%2Fpure-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maleksandar%2Fpure-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maleksandar%2Fpure-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maleksandar%2Fpure-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maleksandar","download_url":"https://codeload.github.com/maleksandar/pure-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maleksandar%2Fpure-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34576042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["functional-programming","spa"],"created_at":"2024-11-09T05:35:20.949Z","updated_at":"2026-06-20T15:31:40.130Z","avatar_url":"https://github.com/maleksandar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pure-framework\nPure-framework is a SPA frontend framework that uses TypeScript functions instead of HTML or JSX for view layer.\n\n\u003ca href=\"https://www.npmjs.com/pure-framework\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/pure-framework.svg?logo=npm\u0026logoColor=fff\u0026label=NPM+package\u0026color=limegreen\" alt=\"pure-framework on npm\" /\u003e\n\u003c/a\u003e\u0026nbsp;\n\n\n\n## Why TypeScript?\nJSX and Angular or Vue template languages are great because of their similarity with\nHTML, but that brings all the issues of HTML with it. Pure-framework, on the other hand, doesn't use HTML at all! Only TypeScript functions!\n\nWith TypeScript you get better syntax highlighting, better refactoring tools, and overall, better experiance coding.\n### Component Example\nTemplate in pure-framework:\n```typescript\ndiv({ class: ’app-root’}, [\n  span(‘Hello ${this.state.name}! Welcome!‘)\n]);\n```\n\nEquivalent template in Angular:\n```HTML\n\u003cdiv class=\"app-root\"\u003e\n  \u003cspan\u003e Hello {{state.name}}! Welcome!\u003c/span\u003e\n\u003c/div\u003e\n```\n\n## Master's Thesis\nThis framework is developed as a part of a Master's thesis on Mathematical Faculty at the University of Belgrade.\nPure-framework is a frontend framework designed around concepts of functional programming and custom Redux-like state management system.\nThe basic principles that this framework leverages are:\n  - Pure functions\n  - Memoization\n  - Observables (RxJs)\n  - Type safety (TypeScript)\n\nCheck out an example of the app writen using *pure-framework* on this [repo](https://github.com/maleksandar/pure-framework-todo-app), or the [presentation](https://docs.google.com/presentation/d/e/2PACX-1vTARP-LlG3lQDed_w9IeUhgPtGn_iOP4itjJ7AlhTIlSRfcdnxYUN_ZWkUrtk5SdUfQjK5HkzK4ibhn/pub?start=false\u0026loop=false\u0026delayms=3000) about pure-framework (Serbian).\n\n\n## License\nMIT License\n\nCopyright (c) 2021 Aleksandar Milosavljević\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaleksandar%2Fpure-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaleksandar%2Fpure-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaleksandar%2Fpure-framework/lists"}