{"id":22378883,"url":"https://github.com/codebrahma/jqresource","last_synced_at":"2025-08-02T15:09:46.099Z","repository":{"id":25397320,"uuid":"28826073","full_name":"Codebrahma/jqResource","owner":"Codebrahma","description":"Restful, Resourceful $AJAX, and knowledgable Javascript.","archived":false,"fork":false,"pushed_at":"2015-01-06T18:33:50.000Z","size":844,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-07-21T21:13:33.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://codebrahma.com/jqResource","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/Codebrahma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-05T18:39:41.000Z","updated_at":"2015-01-06T18:33:50.000Z","dependencies_parsed_at":"2022-08-23T20:00:16.744Z","dependency_job_id":null,"html_url":"https://github.com/Codebrahma/jqResource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Codebrahma/jqResource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2FjqResource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2FjqResource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2FjqResource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2FjqResource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codebrahma","download_url":"https://codeload.github.com/Codebrahma/jqResource/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codebrahma%2FjqResource/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268408199,"owners_count":24245577,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-04T23:08:14.255Z","updated_at":"2025-08-02T15:09:46.057Z","avatar_url":"https://github.com/Codebrahma.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jqResource\n\nRestful wrapper around $.ajax which helps you create a data access layer for your javascript applications to encapsulate your domain/business logic and handle sever interactions.\n\n## About\n\nA JavaScript library by Nithin Krishna.\n\nSee the [project homepage](http://codebrahma.com/jqResource).\n\n## Installation\n\nUsing Bower:\n\n```bash\nbower install jq-resource\n```\n\nOr grab the [source](https://github.com/codebrahma/jqResource/sc/jqResource.js).\n\n## Usage\n\nBasic usage is as follows:\n\n```javascript\n\nvar Question = new $.Resource(\"/api/test/:test_id/questions/:id\",{\n  id: \"id\", test_id: \"test_id\"\n});\n\nvar Test = new $.Resource(\"/api/test/:id\",{\n  id: \"id\"\n});\n\nvar questions = Question.query();\nquestions.$state.done(handleSuccess).fatal(handleFailure);\n\nvar initialTest = new Test({ code: 25 });\ninitialTest.show();\ninitialTest.$state.done(handleSuccess).fatal(handleFailure);\n```\n\n## Contributing\n\nWe'll check out your contribution if you:\n\n* Provide a comprehensive suite of tests for your fork.\n* Have a clear and documented rationale for your changes.\n* Package these up in a pull request.\n\nWe'll do our best to help you out with any contribution issues you may have.\n\n## License\n\nMIT. See `LICENSE.txt` in this directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrahma%2Fjqresource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebrahma%2Fjqresource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrahma%2Fjqresource/lists"}