{"id":26733307,"url":"https://github.com/arazjs/core","last_synced_at":"2026-01-06T08:44:34.715Z","repository":{"id":186207043,"uuid":"674175996","full_name":"arazjs/core","owner":"arazjs","description":"Araz.js is a mini framework that provides a simple and intuitive API for building web applications. It is inspired by popular frameworks like React and Vue.js, but with a focus on simplicity and ease of use.","archived":false,"fork":false,"pushed_at":"2024-07-22T12:22:58.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-09T03:17:30.326Z","etag":null,"topics":["framework","javascript","typescript"],"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/arazjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-08-03T10:08:35.000Z","updated_at":"2025-01-01T09:56:39.000Z","dependencies_parsed_at":"2024-07-22T14:37:54.983Z","dependency_job_id":"e164d1c2-3639-4402-8a24-403064af2d63","html_url":"https://github.com/arazjs/core","commit_stats":null,"previous_names":["amirrr1987/araz","arazjs/core"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arazjs%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arazjs%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arazjs%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arazjs%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arazjs","download_url":"https://codeload.github.com/arazjs/core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245950308,"owners_count":20699045,"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":["framework","javascript","typescript"],"created_at":"2025-03-28T01:20:51.796Z","updated_at":"2026-01-06T08:44:34.680Z","avatar_url":"https://github.com/arazjs.png","language":"TypeScript","readme":" # Araz.js\n\n\nAraz.js is a mini framework that provides a simple and intuitive API for building web applications. It is inspired by popular frameworks like React and Vue.js, but with a focus on simplicity and ease of use.\n\n## Installation\n\nTo install Araz.js, simply run the following command in your terminal:\n\n```\nnpm install araz\n```\n\n## Usage\n\nAraz.js is a component-based framework, which means that your application is built by composing reusable components. Each component is a self-contained unit that has its own state and logic.\n\nTo create a component, you can use the `el()` function. This function takes an object with three properties: `$tag`, `$attrs`, and `$children`.\n\n* `$tag` is the HTML tag name of the component.\n* `$attrs` is an object containing the attributes of the component.\n* `$children` is an array of child components.\n\nFor example, the following code creates a simple button component:\n\n```\nconst button = el(\n 'button',\n   {\n    type: 'button',\n    class: 'btn btn-primary',\n  },\n  'Click me',\n);\n```\n\nOnce you have created a component, you can mount it to the DOM using the `mount()` function. This function takes two arguments: the component to be mounted, and the target element in the DOM.\n\nFor example, the following code mounts the button component to the `\u003cbody\u003e` element:\n\n```\nmount({\n  $node: button,\n  $target: document.body,\n});\n```\n\n\nAraz.js includes a simple router that allows\n\nGenerated by [BlackboxAI](https://www.useblackbox.ai)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farazjs%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farazjs%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farazjs%2Fcore/lists"}