{"id":20139066,"url":"https://github.com/threeletters/aquery","last_synced_at":"2026-05-16T01:35:10.990Z","repository":{"id":136470253,"uuid":"112354922","full_name":"ThreeLetters/AQuery","owner":"ThreeLetters","description":"Anti-JQuery: JQuery for those who don't like JQuery.","archived":false,"fork":false,"pushed_at":"2021-02-28T07:17:46.000Z","size":212,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T13:32:01.186Z","etag":null,"topics":["aquery","framework","javascript","jquery"],"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/ThreeLetters.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":"2017-11-28T15:43:03.000Z","updated_at":"2021-02-28T07:17:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c5a151a-f59c-4964-8135-9ad310616856","html_url":"https://github.com/ThreeLetters/AQuery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThreeLetters/AQuery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThreeLetters%2FAQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThreeLetters%2FAQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThreeLetters%2FAQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThreeLetters%2FAQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThreeLetters","download_url":"https://codeload.github.com/ThreeLetters/AQuery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThreeLetters%2FAQuery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["aquery","framework","javascript","jquery"],"created_at":"2024-11-13T21:43:51.921Z","updated_at":"2026-05-16T01:35:10.950Z","avatar_url":"https://github.com/ThreeLetters.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AQuery - AntiJQuery\n\nFor those who want to program with the standard HTML DOM API yet want to make it fast.\n\n## Purpose\nWhile JQuery is very useful sometimes, it is quite a pain if you like using the standard JS API. However, the standard Javascript API is annoying as it makes programming take too long. AQuery solves this problem. It provides a JQuery like API (For people used to JQuery), while providing the normal Javascript API. So, you can use whatever you like.\n\n\nFor example:\n\n```js\n// This is JQuery syntax and it works on AQuery fine\n$('.manyelements').css('display', 'inline-block');\n\n// However, for AQuery, you can do this too.\n$('.manyelements').style.display = \"inline-block\"\n\n// Normal JS API (Takes too long)\nvar elements = document.body.getElementsByClassName(\".manyelements\");\nfor (var i = 0; i \u003c elements.length; i++) {\n    elements[i].style.display = \"inline-block\"\n}\n\n```\n\n## Bindings/Refrences\n\nBindings and refrences makes your life easier. If you want to have a property of one object depend on another, use this to make sure you only do it once. It can even do calculated values!\n\n```js\n// Normal syntax, set the width of one element to 2/3 the parent element\n$(\"#something\").style.width = $(\"#parent\").style.width * 2/3;\n\n// Change the parent's size\n$(\"#parent\").style.width = \"100px\"\n\n// Recalculate since it changed\n$(\"#something\").style.width = $(\"#parent\").style.width * 2/3;\n\n// OR, special syntax using refrences/bindings. Note the unit. Unit conversions are automatically done.\n$(\"#something\").style.$width = $(\"#parent\").style.$width * 2/3 + \"px\";\n\n// Change the parent's size\n$(\"#parent\").style.width = \"100px\"\n\n// Dont have to do anything. The #something element's width will automatically re-calculate\n\n// NOTE: This works with all coefficients between -10 and 10 inclusive for up to 3 unknowns. In addition, you can add an \"offset\" d\n// The coefficients can also be fractions: a/b, where A and B are between -10 and 10 inclusive\n// result = ax + by + cz + d\n// where -10 \u003c= a,b,c \u003c= 10\n```\n\n## Usage\n\nThe usage is similar to JQuery:\n\n\u003e $(selector)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeletters%2Faquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreeletters%2Faquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeletters%2Faquery/lists"}