{"id":21680095,"url":"https://github.com/matthisk/jsend","last_synced_at":"2026-04-19T15:02:18.697Z","repository":{"id":11122922,"uuid":"13482891","full_name":"matthisk/jSend","owner":"matthisk","description":"Wrapper for jQuery ajax to receive objects following the jSend spec","archived":false,"fork":false,"pushed_at":"2013-11-23T15:18:01.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-27T11:15:03.812Z","etag":null,"topics":[],"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/matthisk.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":"2013-10-10T20:59:24.000Z","updated_at":"2013-11-23T15:18:01.000Z","dependencies_parsed_at":"2022-08-28T17:13:17.462Z","dependency_job_id":null,"html_url":"https://github.com/matthisk/jSend","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/matthisk/jSend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthisk%2FjSend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthisk%2FjSend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthisk%2FjSend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthisk%2FjSend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthisk","download_url":"https://codeload.github.com/matthisk/jSend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthisk%2FjSend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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-11-25T15:14:34.361Z","updated_at":"2026-04-19T15:02:18.655Z","avatar_url":"https://github.com/matthisk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jSend Ajax\n\nVery simple wrapper for jQuery ajax, which validates the result according to the unoffical [jSend](http://labs.omniti.com/labs/jsend) spec. For more information on the spec check their site.\n\n## Usage\n\n### Calling\n\nYou can supply all the normal attributes you do to jQuery.ajax:\n\n```\njSend({\n\ttype : \"POST\",\n\turl : \"http://someurl.com\",\n\tdata : {}\n})\n```\n\nYou can turn on error throwing when the returned object is not in valid jSend format:\n\n```\nthrowError : true\n```\n\njSend returns a promise so you can call .done and .fail on the returned object. The deferred is rejected if the received object is not in valid jSend format, with a correct error message.\n\n### Require js\n\nYou could either load the plugin via requirejs or just include the script file in your dom. The only dependecy is jquery.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthisk%2Fjsend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthisk%2Fjsend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthisk%2Fjsend/lists"}