{"id":13671808,"url":"https://github.com/kiltjs/jqlite","last_synced_at":"2026-02-19T07:32:11.919Z","repository":{"id":23534392,"uuid":"26901139","full_name":"kiltjs/jqlite","owner":"kiltjs","description":"Tiny JavaScript DOM query library that uses pure CSS selectors","archived":false,"fork":false,"pushed_at":"2018-06-30T10:30:13.000Z","size":299,"stargazers_count":100,"open_issues_count":1,"forks_count":19,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-02-15T00:19:50.633Z","etag":null,"topics":[],"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/kiltjs.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":"2014-11-20T07:32:04.000Z","updated_at":"2025-03-28T06:52:43.000Z","dependencies_parsed_at":"2022-08-22T00:50:52.056Z","dependency_job_id":null,"html_url":"https://github.com/kiltjs/jqlite","commit_stats":null,"previous_names":["jstools/jqlite"],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/kiltjs/jqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiltjs%2Fjqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiltjs%2Fjqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiltjs%2Fjqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiltjs%2Fjqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiltjs","download_url":"https://codeload.github.com/kiltjs/jqlite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiltjs%2Fjqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29606927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"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":[],"created_at":"2024-08-02T09:01:19.310Z","updated_at":"2026-02-19T07:32:11.886Z","avatar_url":"https://github.com/kiltjs.png","language":"JavaScript","readme":"# jqLite\n\nTiny JavaScript DOM query library that uses pure CSS selectors\n\n[![](https://img.shields.io/npm/v/jqlite.svg)](https://www.npmjs.com/package/jqlite) [![](https://img.shields.io/bower/v/jstools-jqlite.svg)](http://bower.io/search/?q=kiltjs-jqlite) [![Build Status](https://travis-ci.org/kiltjs/jqlite.svg?branch=master)](https://travis-ci.org/kiltjs/jqlite) [![](https://img.shields.io/npm/dm/jqlite.svg)](https://www.npmjs.com/package/jqlite)\n\n\n-----------\n\n## Installation\n\n```.sh\nnpm install jqlite --save\n```\n  or\n```.sh\nbower install kilt-jqlite --save\n```\n-----------\n\n## Main Object\n\n\u003e jqlite object ($)\n\n``` js\n\n  // starting by '\u003c' returns a collection of DOM nodes from this code\n  // result: [\u003cHTMLElement\u003e]\n  $('\u003cdiv class=\"foo\"\u003ebar\u003c/div\u003e');\n\n  // also accepts several objects at root level\n  // result: [\u003cHTMLElement\u003e, \u003cHTMLElement\u003e]\n  $('\u003cdiv class=\"foo\"\u003ebar\u003c/div\u003e\u003cdiv class=\"bar\"\u003efoo\u003c/div\u003e');\n\n  // jqlite selectors returns collection by accepting pure css selectors\n  // jQuery uses sizzlejs to parse selectors\n  $('#some-id');\n  $('.some-class');\n  $('#wrapper .item');\n```\n\n## Main Methods\n\n- [x] [`ready()`](http://api.jquery.com/ready/)\n\n## Relative Queries\n\n- [`get()`](docs/relative-queries.md#getposition--apijquerycomget)\n- [`eq()`](docs/relative-queries.md#eqposition--apijquerycomeq)\n- [`first()`](docs/relative-queries.md#first--apijquerycomfirst)\n- [`last()`](docs/relative-queries.md#last--apijquerycomlast)\n- [`find()`](docs/relative-queries.md#findselector--apijquerycomfind)\n- [`closest()`](docs/relative-queries.md#closestselector--apijquerycomclosest)\n\n\u003e missing docs:\n\n- [`prev()`](http://api.jquery.com/next/)\n- [`prevAll()`](http://api.jquery.com/next/)\n- [`next()`](http://api.jquery.com/next/)\n- [`nextAll()`](http://api.jquery.com/next/)\n\n- [`parent()`](http://api.jquery.com/parent/)\n- [`children()`](http://api.jquery.com/children/)\n\n### Handling Classes\n\n- [`addClass()`](docs/relative-queries.md#addclassclassname--apijquerycomaddclass)\n- [`removeClass()`](docs/relative-queries.md#removeclassclassname--apijquerycomremoveclass)\n- [`toggleClass()`](docs/relative-queries.md#toggleclassclassnamestate--apijquerycomtoggleclass)\n\n### Moving DOM Elements\n\n\u003e missing docs:\n\n- [`append()`](http://api.jquery.com/append/)\n- [`prepend()`](http://api.jquery.com/prepend/)\n- [`before(content)`](http://api.jquery.com/before/)\n- [`after(content)`](http://api.jquery.com/after/)\n\n- [`wrap()`](http://api.jquery.com/wrap/)\n\n- [`replaceWith()`](http://api.jquery.com/replaceWith/)\n- [`detach()`](http://api.jquery.com/detach/)\n- [`remove()`](http://api.jquery.com/remove/)\n\n### Getters / Setters\n\n- [`val()`](http://api.jquery.com/val/)\n- [`html()`](http://api.jquery.com/html/)\n- [`text()`](http://api.jquery.com/text/)\n- [`contents()`](http://api.jquery.com/contents/)\n\n- [`prop()`](http://api.jquery.com/prop/)\n- [`attr()`](http://api.jquery.com/attr/)\n- [`removeAttr()`](http://api.jquery.com/removeAttr/)\n- [`data()`](http://api.jquery.com/data/)\n- [`removeData()`](http://api.jquery.com/removeData/)\n\n- [`empty()`](http://api.jquery.com/empty/)\n\n### Miscelanea\n\n- [`clone()`](http://api.jquery.com/clone/) - clone events not yet supported\n- [`css()`](http://api.jquery.com/css/)\n\n### Event Methods\n\n- [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData\n- [`off()`](http://api.jquery.com/off/) - Does not support namespaces or selectors\n- [`one()`](http://api.jquery.com/one/) - Does not support namespaces or selectors\n- [`trigger()`](http://api.jquery.com/trigger/) - Does not support selectors\n\n- [`click()`](http://api.jquery.com/click/)\n- [`focus()`](http://api.jquery.com/focus/)\n- [`blur()`](http://api.jquery.com/blur/)\n- [`submit()`](http://api.jquery.com/submit/)\n\n\u003e \u003ca name=\"foot-notes\"\u003e\n\u003e collection: jqlite object returned by a query and find/filter like functions\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiltjs%2Fjqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiltjs%2Fjqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiltjs%2Fjqlite/lists"}