{"id":21916886,"url":"https://github.com/zenoo/ajax-sender","last_synced_at":"2025-03-22T09:41:13.863Z","repository":{"id":33177024,"uuid":"154123515","full_name":"Zenoo/ajax-sender","owner":"Zenoo","description":"Send AJAX requests easily","archived":false,"fork":false,"pushed_at":"2023-03-06T06:21:07.000Z","size":1045,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:16:03.362Z","etag":null,"topics":["ajax","request","send"],"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/Zenoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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-10-22T10:14:03.000Z","updated_at":"2021-07-15T17:45:46.000Z","dependencies_parsed_at":"2025-01-27T09:38:33.311Z","dependency_job_id":null,"html_url":"https://github.com/Zenoo/ajax-sender","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fajax-sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fajax-sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fajax-sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fajax-sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zenoo","download_url":"https://codeload.github.com/Zenoo/ajax-sender/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937740,"owners_count":20535124,"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","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":["ajax","request","send"],"created_at":"2024-11-28T19:21:26.711Z","updated_at":"2025-03-22T09:41:13.839Z","avatar_url":"https://github.com/Zenoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ajax Sender [(Demo)](https://jsfiddle.net/Zenoo0/sxupbLyk/)\n\nSend AJAX requests easily\n\n### Doc\n\n* **Installation**\n\nSimply import AjaxSender into your HTML.\n```\n\u003cscript src=\"https://unpkg.com/ajax-sender@1.2.1/AjaxSender.min.js\"\u003e\u003c/script\u003e\t\n```\n* **How to use**\n\nCreate a new [`AjaxSender`](https://zenoo.github.io/ajax-sender/AjaxSender.html) object with the URL as the first parameter :\n```js\nlet ajax = new AjaxSender('https://your.url', options);\n// OR using await\nlet data = await new AjaxSender('https://your.url', {\n\t...,\n\twait: true\n}).asPromise().send();\n```\n* **Options**\n\n```js\n{\n\tmethod: 'GET',\n\tdata: { ... },\n\tresponseType: 'json',\n\twait: false, // Wait before sending the request ?\n\theaders: { ... },\n\tprogress: response =\u003e { ... },\n\tload: response =\u003e { ... },\n\terror: response =\u003e { ... },\n\tuploadProgress: response =\u003e { ... },\n\tuploadLoad: response =\u003e { ... }\n}\n```\n* **Methods**\n\nSee the [documentation](https://zenoo.github.io/ajax-sender/AjaxSender.html) for the method definitions.  \n\n* **Example**\n\nSee this [JSFiddle](https://jsfiddle.net/Zenoo0/sxupbLyk/) for a working example\n\n## Authors\n\n* **Zenoo** - *Initial work* - [Zenoo.fr](https://zenoo.fr)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fajax-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenoo%2Fajax-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fajax-sender/lists"}