Table of Contents
Perhaps today in Javascript, Ajax is a dead technology. But many developers still use this technology. The problem happens when vanila js syntax for Ajax isn't really simple. Also, Using jQuery just for it's ajax method does not seem a good idea. So I decided to make a library to make ajax easier for people who use it.
First make sure that you have npm
installed. The install ajaxman
in your directory with:
npm install ajaxman
import ajaxman from "ajaxman"
ajaxman(
{
url:"https://www.github.com",
method:"GET"
},(req)=>{
console.log(req.status)
}
)
NOTE: Ajaxman is just made for front-end usage not Node.js
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Use webpack to rebuild the project with
npm run build
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
mehan alavimajd : [email protected]
Project Link: https://github.com/mehanalavimajd/ajaxman