{"id":18465136,"url":"https://github.com/avalynx/avalynx-ref","last_synced_at":"2026-03-09T04:33:02.956Z","repository":{"id":232168982,"uuid":"782422742","full_name":"avalynx/avalynx-ref","owner":"avalynx","description":"AvalynxRef is an implementation of a reference (Ref) system, similar to Refs in React or Vue, designed for updating DOM elements with a specified value. This facilitates a reactive linkage between JavaScript data and the user interface.","archived":false,"fork":false,"pushed_at":"2026-02-25T10:12:32.000Z","size":352,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-25T14:54:06.210Z","etag":null,"topics":["avalynx","javascript","react","reactjs","ref","reference","vu","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/avalynx.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,"zenodo":null}},"created_at":"2024-04-05T09:14:32.000Z","updated_at":"2026-02-25T10:13:41.000Z","dependencies_parsed_at":"2024-04-08T11:09:49.610Z","dependency_job_id":"9c23fdfc-24b3-456c-b9ce-a36d28b0a1a4","html_url":"https://github.com/avalynx/avalynx-ref","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.040000000000000036","last_synced_commit":"b646e57699ad755ff6cc18176099a4188beef5e1"},"previous_names":["avalynx/avalynx-ref"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/avalynx/avalynx-ref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalynx%2Favalynx-ref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalynx%2Favalynx-ref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalynx%2Favalynx-ref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalynx%2Favalynx-ref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avalynx","download_url":"https://codeload.github.com/avalynx/avalynx-ref/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalynx%2Favalynx-ref/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":["avalynx","javascript","react","reactjs","ref","reference","vu","vuejs"],"created_at":"2024-11-06T09:12:05.336Z","updated_at":"2026-03-09T04:33:02.921Z","avatar_url":"https://github.com/avalynx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AvalynxRef\n\nAvalynxRef is an implementation of a reference (Ref) system, similar to Refs in React or Vue, designed for updating DOM elements with a specified value. This facilitates a reactive linkage between JavaScript data and the user interface.\n\n## Features\n\n- **Lightweight**: AvalynxRef is a lightweight library that doesn't require any dependencies.\n- **Ref System**: Use Refs to update DOM elements with a specified value.\n\n## Example\n\nHere's a simple example of how to use AvalynxRef in your project:\n\n* [Overview](https://avalynx-ref.jbs-newmedia.de/examples/index.html)\n* [Random values](https://avalynx-ref.jbs-newmedia.de/examples/random-values.html)\n\n## Installation\n\nTo use AvalynxRef in your project, you can directly include it in your HTML file.\n\nInclude AvalynxRef:\n\n```html\n\u003cscript src=\"path/to/avalynx-ref.js\"\u003e\u003c/script\u003e\n```\n\nReplace `path/to/avalynx-ref.js` with the actual path to the file in your project.\n\n## Installation via jsDelivr ([Link](https://cdn.jsdelivr.net/npm/avalynx-ref/))\n\nAvalynxRef is also available via [jsDelivr](https://www.jsdelivr.com/). You can include it in your project like this:\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/avalynx-ref@0.0.4/dist/js/avalynx-ref.min.js\"\u003e\u003c/script\u003e\n```\n\n## Installation via NPM ([Link](https://www.npmjs.com/package/avalynx-ref))\n\nAvalynxRef is also available as a npm package. You can add it to your project with the following command:\n\n```bash\nnpm install avalynx-ref\n```\n\nAfter installing, you can import AvalynxRef into your JavaScript file like this:\n\n```javascript\nimport { AvalynxRef } from 'avalynx-ref';\n```\n\n## Installation via Symfony AssetMapper\n\n```bash\nphp bin/console importmap:require avalynx-ref\n```\n\nAfter installing, you can import AvalynxRef into your JavaScript file like this:\n\n```javascript\nimport { AvalynxRef } from 'avalynx-ref';\n```\n\n## Installation via Composer ([Link](https://packagist.org/packages/avalynx/avalynx-ref))\n\nAvalynxRef is also available as a Composer package. You can add it to your project with the following command:\n\n```bash\ncomposer require avalynx/avalynx-loader\n```\n\nAfter installing, you can import AvalynxLoader into your HTML file like this:\n\n```html\n\u003cscript src=\"vendor/avalynx/avalynx-loader/dist/js/avalynx-loader.js\"\u003e\u003c/script\u003e\n``` \n\n## Usage\n\nTo use AvalynxRef in your project, include the AvalynxRef JavaScript file in your project and initialize the class with the appropriate selector.\n\n```javascript\nconst myRef = new AvalynxRef(\"#myElement\");\nmyRef.value = \"Updated content\";\n```\n\nor use the `isHtml` option to treat the value as HTML:\n\n```javascript\nconst myRef = new AvalynxRef(\"#myElement\", { isHtml: true });\nmyRef.value = \"\u003cp\u003eUpdated content\u003c/p\u003e\";\n```\n\n## Options\n\nAvalynxRef allows the following options for customization:\n\n- `selector`: (string) The selector to use for targeting tables within the DOM (default: `'.avalynx-ref'`).\n- `options`: An object containing the following keys:\n  - `isHtml`: (boolean) Treat the value as HTML (default: `false`).\n\n## Planned Features\n- callback function for value change\n \n## Contributing\n\nContributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes or improvements. We're looking for contributions in the following areas:\n\n- Bug fixes\n- Feature enhancements\n- Documentation improvements\n\nBefore submitting your pull request, please ensure your changes are well-documented and follow the existing coding style of the project.\n\n## License\n\nAvalynxRef is open-sourced software licensed under the [MIT license](LICENSE).\n\n## Contact\n\nIf you have any questions, feature requests, or issues, please open an issue on our [GitHub repository](https://github.com/avalynx/avalynx-ref/issues) or submit a pull request.\n\nThank you for considering AvalynxRef for your project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favalynx%2Favalynx-ref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favalynx%2Favalynx-ref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favalynx%2Favalynx-ref/lists"}