{"id":26150002,"url":"https://github.com/0xandre/xjs","last_synced_at":"2026-05-18T00:02:16.542Z","repository":{"id":120759287,"uuid":"145871540","full_name":"0xAndre/xJS","owner":"0xAndre","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-24T10:54:07.000Z","size":1173,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T11:42:38.881Z","etag":null,"topics":["contribute","css","dom","html","html5","javascript","js","library","xjs"],"latest_commit_sha":null,"homepage":null,"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/0xAndre.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":"2018-08-23T15:18:27.000Z","updated_at":"2022-06-09T15:12:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5a1ffcc-3e65-46f0-b56b-13c23cbd40e5","html_url":"https://github.com/0xAndre/xJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xAndre/xJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xAndre%2FxJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xAndre%2FxJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xAndre%2FxJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xAndre%2FxJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xAndre","download_url":"https://codeload.github.com/0xAndre/xJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xAndre%2FxJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: 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":["contribute","css","dom","html","html5","javascript","js","library","xjs"],"created_at":"2025-03-11T05:50:16.085Z","updated_at":"2026-05-18T00:02:11.532Z","avatar_url":"https://github.com/0xAndre.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xJS - Javascript Library\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/x0uter/xJS/raw/master/assets/xjs.png\"/\u003e\n\u003c/p\u003e\n\n[![N|Solid](https://github.com/x0uter/xJS/raw/master/assets/xjs.gif)](https://github.com/x0uter/xJS)\n\nMake it simple.\n\n## How to Use\nAdd xJS Library to your HTML file\n```html\n    \u003cscript src=\"xjs.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"xjs.min.js\"\u003e\u003c/script\u003e\n```\nor\n```html\n    \u003cscript src=\"https://raw.githubusercontent.com/x0uter/xJS/master/xjs.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://raw.githubusercontent.com/x0uter/xJS/master/xjs.min.js\"\u003e\u003c/script\u003e\n```\n\n## Examples\n\n## ATTR\n```html\n    \u003ca id=\"url\"\u003egithub\u003ca\u003e\n```\n\n```js\n    x('url').attr('href', 'https://www.github.com')\n```\n\n## CSS\n```js\n    x('test').css('color', 'red');\n    x('div').css('color', 'blue');\n```\n\n### CSS as Object\n```js\nconst {\n    'color': 'blue',\n    'text-align': 'center'\n}\n\t\t\t\t\t    \nx('test').css(decor);\n```\n\n## JSON GET\n```js\n    x().jsonGet('https://jsonplaceholder.typicode.com/todos/1').then(x('test').add)\n    x('test').jsonGet('https://jsonplaceholder.typicode.com/todos/1');\n```\n\n## JSON POST\n```js\n    x().jsonPost('URI', {'id': 1, 'xjs': 'nice'})\n```\n\n## SUM\n```html\n    \u003ch1 id=\"val1\"\u003e4\u003c/h1\u003e\n    \u003ch1 id=\"val2\"\u003e4\u003c/h1\u003e\n    \u003ch1 id=\"val3\"\u003e5\u003c/h1\u003e\n    \u003ch1 id=\"val4\"\u003e2\u003c/h1\u003e\n    \u003ch1 id=\"val5\"\u003e1\u003c/h1\u003e\n    \u003cdiv\u003e4\u003cdiv\u003e\n\n    \u003ch1 id=\"res\"\u003eResult: \u003c/h1\u003e\n```\n```js\n   x('res').sum(['val1', 'val2', 'val3', 'val4', 'val5', 'div'])\n```\n\n```html\n    \u003ch1 id=\"res\"\u003eResult: 20\u003c/h1\u003e\n```\n\n\nLicense\n----\n[![N|Solid](https://cdn-images-1.medium.com/max/800/1*C87EjxGeMPrkTuVRVWVg4w.png)]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xandre%2Fxjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xandre%2Fxjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xandre%2Fxjs/lists"}