{"id":13671253,"url":"https://github.com/yoxjs/yox","last_synced_at":"2025-05-15T16:03:28.126Z","repository":{"id":55055199,"uuid":"73279445","full_name":"yoxjs/yox","owner":"yoxjs","description":"A lightweight mvvm framework","archived":false,"fork":false,"pushed_at":"2023-02-22T08:19:13.000Z","size":44406,"stargazers_count":1077,"open_issues_count":3,"forks_count":80,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-05-15T03:27:44.660Z","etag":null,"topics":["ie","lightweight","mvvm","reactive","ts","yox"],"latest_commit_sha":null,"homepage":"https://yoxjs.github.io/yox/","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/yoxjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["musicode"],"patreon":null,"open_collective":"yox","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-11-09T11:46:20.000Z","updated_at":"2025-04-01T08:40:14.000Z","dependencies_parsed_at":"2023-09-23T14:39:45.483Z","dependency_job_id":null,"html_url":"https://github.com/yoxjs/yox","commit_stats":{"total_commits":1228,"total_committers":2,"mean_commits":614.0,"dds":0.0008143322475570036,"last_synced_commit":"77dac3a99932f10412d240c405ee210987caa76a"},"previous_names":[],"tags_count":120,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoxjs%2Fyox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoxjs%2Fyox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoxjs%2Fyox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoxjs%2Fyox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoxjs","download_url":"https://codeload.github.com/yoxjs/yox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374401,"owners_count":22060609,"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":["ie","lightweight","mvvm","reactive","ts","yox"],"created_at":"2024-08-02T09:01:04.255Z","updated_at":"2025-05-15T16:03:28.097Z","avatar_url":"https://github.com/yoxjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/musicode","https://opencollective.com/yox"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Yox\n\nJust like Vue, but it is more lightweight and easy to use than Vue.\n\nThe key feature is that Yox supports IE6.\n\n\u003e QQ Group: 232021930\n\n## Install\n\nCDN\n\n```html\n\u003cscript src=\"https://unpkg.com/yox\"\u003e\u003c/script\u003e\n```\n\nNPM\n\n```\nnpm install yox\n```\n\nYARN\n\n```\nyarn add yox\n```\n\n## Example\n\n* [Hello World](http://jsrun.net/YxyKp/edit)\n\n#### If/ElseIf/Else\n\n* [Node](http://jsrun.net/ZxyKp/edit)\n* [Attribute](http://jsrun.net/gxyKp/edit)\n\n#### Each\n\n* [Array With Object Type](http://jsrun.net/hxyKp/edit)\n* [Array With Primitive Type](http://jsrun.net/eByKp/edit)\n* [Object](http://jsrun.net/yxyKp/edit)\n* [Range](http://jsrun.net/fxyKp/edit)\n\n#### Filter\n\n* [Global Filter](http://jsrun.net/xRyKp/edit)\n* [Component Filter](http://jsrun.net/IxyKp/edit)\n* [Global Function Is Disabled](http://jsrun.net/zByKp/edit)\n* [Object Method Is Disabled](http://jsrun.net/FByKp/edit)\n\n#### Comment\n\n* [HTML](http://jsrun.net/2xyKp/edit)\n* [Mustache](http://jsrun.net/yByKp/edit)\n\n#### Ref\n\n* [HTML Element](http://jsrun.net/sMyKp/edit)\n* [Component Instance](http://jsrun.net/FMyKp/edit)\n\n#### Computed\n\n* [Collect Deps Automatic](http://jsrun.net/y4yKp/edit)\n* [Set Deps Manually](http://jsrun.net/b4yKp/edit)\n\n#### Keypath\n\n* [Keypath](http://jsrun.net/W4yKp/edit)\n\n#### Event Handle\n\n##### DOM Event\n\n* [Fire Event](http://jsrun.net/vxyKp/edit)\n* [Invoke Method With No Params](http://jsrun.net/LxyKp/edit)\n* [Invoke Method With Params](http://jsrun.net/ICyKp/edit)\n* [Prevent Default Behavior](http://jsrun.net/CSyKp/edit)\n* [Stop Propagation](http://jsrun.net/rSyKp/edit)\n* [Event Namespace](http://jsrun.net/DRyKp/edit)\n\n##### Custom DOM Event\n\n* [Tap](http://jsrun.net/XCyKp/edit)\n* [Hover](http://jsrun.net/cZbKp/edit)\n* [CamelCase](http://jsrun.net/7ZbKp/edit)\n\n##### Component Event\n\n* [Bubble Up Event](http://jsrun.net/YByKp/edit)\n* [Transform Event](http://jsrun.net/nRyKp/edit)\n* [Invoke Method](http://jsrun.net/kByKp/edit)\n* [Bubble Up Event With Namespace](http://jsrun.net/tRyKp/edit)\n* [Transform Event With Namespace](http://jsrun.net/CRyKp/edit)\n* [Invoke Method With Namespace](http://jsrun.net/mRyKp/edit)\n* [Event Data](http://jsrun.net/jRyKp/edit)\n* [Fire Event Downward](http://jsrun.net/kuyKp/edit)\n* [Bind DOM Event On Component Root Element](http://jsrun.net/iByKp/edit)\n\n#### Data Binding\n\n##### Form Element\n\n* [input](http://jsrun.net/qByKp/edit)\n* [textarea](http://jsrun.net/ZByKp/edit)\n* [radio](http://jsrun.net/gByKp/edit)\n* [checkbox](http://jsrun.net/hByKp/edit)\n* [select](http://jsrun.net/XByKp/edit)\n\n##### Component\n\n* [Input](http://jsrun.net/NxyKp/edit)\n* [Checkbox](http://jsrun.net/LCyKp/edit)\n\n#### Custom Directive\n\n* [Log Report](http://jsrun.net/QByKp/edit)\n* [Directive Modifier](http://jsrun.net/8jyKp/edit)\n\n#### Component\n\n* [Button](http://jsrun.net/axyKp/edit)\n* [Spread Props](http://jsrun.net/QxyKp/edit)\n\n## Document\n\n[中文文档](https://yoxjs.github.io/yox)\n\n## Sponsors\n\nBecome a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/yox#sponsor)]\n\n\u003ca href=\"https://opencollective.com/yox/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/yox/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\n## Donation\n\nIf you think Yox is very helpful to you, please give me some encouragement.\n\nWechat Pay\n\n\u003cimg src=\"https://user-images.githubusercontent.com/2732303/44254903-ce6d3f80-a236-11e8-86dd-f6b27a7f94df.png\" width=\"200\"\u003e\n\nAli Pay\n\n\u003cimg src=\"https://user-images.githubusercontent.com/2732303/44254929-e5139680-a236-11e8-95e2-f5a864246f83.png\" width=\"200\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoxjs%2Fyox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoxjs%2Fyox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoxjs%2Fyox/lists"}