{"id":21522212,"url":"https://github.com/greguz/iglue","last_synced_at":"2025-07-16T07:31:08.512Z","repository":{"id":57271619,"uuid":"129632800","full_name":"greguz/iglue","owner":"greguz","description":"Intuitive data-binding engine","archived":false,"fork":false,"pushed_at":"2019-05-08T07:43:51.000Z","size":371,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-07T15:18:16.240Z","etag":null,"topics":["data-binding","frontend","javascript","micro-framework","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/greguz.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}},"created_at":"2018-04-15T17:13:17.000Z","updated_at":"2022-10-01T06:51:59.000Z","dependencies_parsed_at":"2022-08-25T06:11:49.249Z","dependency_job_id":null,"html_url":"https://github.com/greguz/iglue","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greguz%2Figlue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greguz%2Figlue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greguz%2Figlue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greguz%2Figlue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greguz","download_url":"https://codeload.github.com/greguz/iglue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226112985,"owners_count":17575438,"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":["data-binding","frontend","javascript","micro-framework","typescript"],"created_at":"2024-11-24T01:09:36.813Z","updated_at":"2024-11-24T01:09:37.436Z","avatar_url":"https://github.com/greguz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iglue\n\n[![npm version](https://badge.fury.io/js/iglue.svg)](https://badge.fury.io/js/iglue) [![Dependencies Status](https://david-dm.org/greguz/iglue.svg)](https://david-dm.org/greguz/iglue.svg)\n\nA simple and unobtrusive UI microframework.\n\n## Motivation\n\nI've worked with [Rivets.js](https://github.com/mikeric/rivets) for some time,\nthen I fell in love with [Vue.js](https://github.com/vuejs/vue),\nbut sometimes I just wanted something in between,\nsomething cool and well written like _Vue_,\nbut simple and unobtrusive like _Rivets_...\n\nSo I came out to write **iglue**.\n\n## Browser support\n\n**iglue** supports all browsers that are ES5-compliant,\nso IE8 and below are not supported.\n\n## Usage\n\n```html\n\u003cdiv id=\"articles\" i-each:article=\"articles\" i-if=\"article.visible\"\u003e\n  \u003ch1\u003e{ article.title }\u003c/h1\u003e\n  \u003cp i-class:old=\"article.old\"\u003e{ article.content }\u003c/p\u003e\n\u003c/div\u003e\n```\n\n```javascript\niglue.bind(document.getElementById(\"articles\"), {\n  articles: [\n    {\n      title: \"Hello world\",\n      visible: true,\n      old: true,\n      content: \"The cake is a lie\"\n    },\n    {\n      title: \"Glados is watching\",\n      visible: false,\n      old: false,\n      content:\n        \"Hello and, again, welcome to the Aperture Science computer-aided enrichment center.\"\n    }\n  ]\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreguz%2Figlue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreguz%2Figlue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreguz%2Figlue/lists"}