{"id":21825853,"url":"https://github.com/voxjs/vox","last_synced_at":"2025-08-11T09:10:02.486Z","repository":{"id":43098673,"uuid":"410661211","full_name":"voxjs/vox","owner":"voxjs","description":"⚡️ instant interactivity for the web 💫","archived":false,"fork":false,"pushed_at":"2022-08-19T00:00:41.000Z","size":128,"stargazers_count":101,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-08T23:57:28.304Z","etag":null,"topics":["framework","html","javascript","js","library","shopify","web"],"latest_commit_sha":null,"homepage":"https://github.com/voxjs/vox/wiki","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/voxjs.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","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":"2021-09-26T20:59:21.000Z","updated_at":"2024-09-03T07:27:20.000Z","dependencies_parsed_at":"2022-08-12T10:20:10.526Z","dependency_job_id":null,"html_url":"https://github.com/voxjs/vox","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/voxjs/vox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxjs%2Fvox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxjs%2Fvox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxjs%2Fvox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxjs%2Fvox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxjs","download_url":"https://codeload.github.com/voxjs/vox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxjs%2Fvox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269672052,"owners_count":24457112,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["framework","html","javascript","js","library","shopify","web"],"created_at":"2024-11-27T18:02:52.257Z","updated_at":"2025-08-11T09:10:02.458Z","avatar_url":"https://github.com/voxjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vox.js\n\u003csup\u003e**⚡️ INSTANT INTERACTIVITY FOR THE WEB 💫**\u003c/sup\u003e\n\nVox is a tiny (\u0026#8776;7KB) JavaScript library that allows you to enhance your HTML with declarative two-way data bindings, using simple, native-like attributes (directives).\n\n[![](https://badgen.net/npm/v/@voxjs/vox)](https://npmjs.com/package/@voxjs/vox)  \n[![](https://badgen.net/bundlephobia/minzip/@voxjs/vox)](https://bundlephobia.com/package/@voxjs/vox)\n\n\u0026#8206;\n\n``` html\n\u003cscript src=\"vox.min.js\"\u003e\u003c/script\u003e\n\n\u003cdiv vox=\"{ world: [ '🌏', '🌍', '🌎' ] }\"\u003e\n  hello, \u003cspan vox:text=\"world.join(' ')\"\u003e\u003c/span\u003e!\n  \u003cbr/\u003e\n  \u003cbutton vox:onclick.once=\"world.push('👽')\"\u003e\n    click...\n  \u003c/button\u003e\n\u003c/div\u003e\n\n\u003cscript\u003e\n  const app = vox();\n  app.init();\n  // ...that's all, folks!\n  app.exit();\n\u003c/script\u003e\n```\n\n\u0026#8206;\n\n**DOCUMENTATION**\n\n\u003csub\u003e[**HOME**](https://github.com/voxjs/vox/wiki/home)\u003c/sub\u003e  \n\u003csub\u003e[**INSTALLATION**](https://github.com/voxjs/vox/wiki/installation)\u003c/sub\u003e  \n\u003csub\u003e[**MAIN CONCEPTS**](https://github.com/voxjs/vox/wiki/main-concepts)\u003c/sub\u003e  \n\u003csub\u003e[**API REFERENCE**](https://github.com/voxjs/vox/wiki/api-reference)\u003c/sub\u003e  \n\u003csub\u003e[**SHOPIFY**](https://github.com/voxjs/vox/wiki/shopify)\u003c/sub\u003e  \n\u003csub\u003e[**RESOURCES**](https://github.com/voxjs/vox/wiki/resources)\u003c/sub\u003e\n\n\u0026#8206;\n\n\u003csup\u003e*demo or it didn't happen.*\u003c/sup\u003e\n\n[🔗](https://codepen.io/paulala/pen/LYjdYdG) \u003ccode\u003e\u003c**counter**/\u003e\u003c/code\u003e\n\n``` html\n\u003cdiv vox=\"{ count: 0 }\"\u003e\n  \u003cbutton vox:onclick=\"(count--)\"\u003e\n    \u0026minus;\n  \u003c/button\u003e\n  \u003cspan vox:text=\"(count)\"\u003e\u003c/span\u003e\n  \u003cbutton vox:onclick=\"(count++)\"\u003e\n    \u0026plus;\n  \u003c/button\u003e\n\u003c/div\u003e\n```\n\n\u0026#8206;\n\n[🔗](https://codepen.io/paulala/pen/mdMxyEx) \u003ccode\u003e\u003c**dialog**/\u003e\u003c/code\u003e\n\n``` html\n\u003cdiv vox=\"{ open: false }\"\u003e\n  \u003cbutton vox:onclick=\"(open = !open)\"\u003e\n    click\n  \u003c/button\u003e\n  \u003cdiv vox:if=\"(open)\"\u003e\n    hi! 👋\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n\u0026#8206;\n\n[🔗](https://codepen.io/paulala/pen/ExveVxm) \u003ccode\u003e\u003c**tabs**/\u003e\u003c/code\u003e\n\n``` html\n\u003cdiv vox=\"{ tab: 0 }\"\u003e\n  \u003cbutton vox:onclick=\"(tab = 1)\"\u003e\n    tab 1\n  \u003c/button\u003e\n  \u003cbutton vox:onclick=\"(tab = 2)\"\u003e\n    tab 2\n  \u003c/button\u003e\n  \u003cbutton vox:onclick=\"(tab = 3)\"\u003e\n    tab 3\n  \u003c/button\u003e\n  \u003cdiv vox:hidden=\"(tab !== 1)\"\u003e\n    cupcake 🧁\n  \u003c/div\u003e\n  \u003cdiv vox:hidden=\"(tab !== 2)\"\u003e\n    cookie 🍪\n  \u003c/div\u003e\n  \u003cdiv vox:hidden=\"(tab !== 3)\"\u003e\n    chocolate 🍫\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n\u0026#8206;\n\n[🔗](https://codepen.io/paulala/pen/abyYzJB) \u003ccode\u003e\u003c**to-dos**/\u003e\u003c/code\u003e\n\n``` html\n\u003cdiv vox=\"{ todos: [ '☕️', '💻', '💤' ] }\"\u003e\n  \u003col vox:if=\"(todos.length \u003e 0)\"\u003e\n    \u003cli vox:for=\"(todo in todos)\"\u003e\n      \u003cspan vox:text=\"(todo)\"\u003e\u003c/span\u003e\n      \u003cbutton vox:onclick=\"{\n        todos.splice(todos.indexOf(todo), 1);\n      }\"\u003e\n        \u0026times;\n      \u003c/button\u003e\n    \u003c/li\u003e\n  \u003c/ol\u003e\n  \u003cform vox:onsubmit.prevent=\"{\n    todos.push(els.input.value || '…');\n    els.input.value = '';\n  }\"\u003e\n    \u003cinput placeholder=\"…\" vox:el=\"('input')\"/\u003e\n    \u003cbutton\u003eadd to-do\u003c/button\u003e\n  \u003c/form\u003e\n\u003c/div\u003e\n```\n\n\u003c!--\n\u0026#8206;\n\n**CONTRIBUTORS**\n\n\u0026#8206;\n\n**SPONSORS**\n--\u003e\n\n\u0026#8206;\n\n\u003csub\u003e**COPYRIGHT \u0026#169; 2021 [PAULA GRIGUȚĂ](https://paula.dev) AND [CONTRIBUTORS](https://github.com/voxjs/vox/blob/main/package.json)**\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxjs%2Fvox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxjs%2Fvox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxjs%2Fvox/lists"}