{"id":21447900,"url":"https://github.com/bycodexp/easyjs","last_synced_at":"2025-03-17T01:46:09.022Z","repository":{"id":133645640,"uuid":"373298156","full_name":"byCodeXp/EasyJs","owner":"byCodeXp","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-06T23:37:45.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T11:43:34.309Z","etag":null,"topics":["javascript"],"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/byCodeXp.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":"2021-06-02T20:44:04.000Z","updated_at":"2022-06-16T13:31:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"caaf1f9a-6df6-4ef4-847a-398f5ed0e481","html_url":"https://github.com/byCodeXp/EasyJs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byCodeXp%2FEasyJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byCodeXp%2FEasyJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byCodeXp%2FEasyJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byCodeXp%2FEasyJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byCodeXp","download_url":"https://codeload.github.com/byCodeXp/EasyJs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960427,"owners_count":20375101,"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":["javascript"],"created_at":"2024-11-23T03:12:35.232Z","updated_at":"2025-03-17T01:46:09.017Z","avatar_url":"https://github.com/byCodeXp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyJs - it's lightweight javascript library.\n\u003e\u003e\u003e\u003e\u003ethis is draft version\n## Structure\n\nFor begin you need create main app class Easy.\n\nExample:\n```html\n\u003chtml\u003e\n    \u003chead\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003cdiv id=\"app\"\u003e\n            \u003ch1\u003e@-\u003esomeField\u003c/h1\u003e\n            \u003cdiv\u003e\n                \u003ch2\u003eArray\u003c/h2\u003e\n                \u003cfor in=\"array\"\u003e\n                    \u003cspan\u003e@this\u003c/span\u003e\n                \u003c/for\u003e\n            \u003c/div\u003e\n            \u003cdiv\u003e\n                \u003ch2\u003eFrameworks\u003c/h2\u003e\n                \u003cfor in=\"frameworks\"\u003e\n                    \u003cdiv\u003e\n                        \u003cspan\u003e@-\u003etitle\u003c/span\u003e\n                        \u003cspan\u003e@-\u003erelease\u003c/span\u003e\n                    \u003c/div\u003e\n                \u003c/for\u003e\n            \u003c/div\u003e\n        \u003c/div\u003e\n        \u003cscript src=\"js/easy.js\"\u003e\u003c/script\u003e\n        \u003cscript\u003e\n            const App = new Easy({\n                someField: \"hello world\",\n                array: ['🍉', '🍋' , '🍎'],\n                frameworks: [\n                    {\n                        title: 'Angualar',\n                        release: '2010-10-20'\n                    },\n                    {\n                        title: 'Vue',\n                        release: '2014-02-01'\n                    },\n                    {\n                        title: 'React',\n                        release: '2013-05-29'\n                    },\n                ]\n            });\n        \u003c/script\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Reactivity\n\n### bind\n\nUse attribute `bind` in yours `input`. Inside attribute, - pass the name to the variable.\n\nAttribute `bind` - works in two ways.\n\n```html\n\u003chtml\u003e\n\u003chead\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cdiv id=\"app\"\u003e\n    \u003cinput bind=\"searchQuery\" type=\"text\"\u003e\n    \u003cspan\u003e@searchQuery\u003c/span\u003e\n\u003c/div\u003e\n\u003cscript src=\"js/easy.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    const App = new Easy({\n        searchQuery: \"\"\n    });\n\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbycodexp%2Feasyjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbycodexp%2Feasyjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbycodexp%2Feasyjs/lists"}