
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
ajax-abstraction
Advanced tools
A tiny XMLHTTPRequest abstraction, 2kb minified and a bit less than 900b minified and gzip.
I just want to use jQuery Ajax like methods, but without loading ALL jQuery.
Because I made no reasearch before building this :bowtie:.
You can just download it from this repo. But I'd recommend you to use bower method:
bower install Ajax
You can also use npm:
npm install ajax-abstraction
Yeap, not same name. It was already taken on NPM. Life is not so beautiful =/
If you know how to use jQuery Ajax methods, you know how to use this. See below:
Ajax.call({
url: '/foo',
success: function(data) {
// my success function
}
});
This lib supports UMD. So, import this via AMD, CommonJS or importing min script in you HTML and using as window global.
It's possible to use setup method for setting default options. The same parameters can be passed.
contentType [string]:
context [object]:
data [string]:
dataType [string]:
fail [function]:
headers [json]:
method [string]:
success [function]:
GPL 3 (full copy shipped with code)
FAQs
A tiny XMLHTTPRequest abstraction.
The npm package ajax-abstraction receives a total of 1 weekly downloads. As such, ajax-abstraction popularity was classified as not popular.
We found that ajax-abstraction demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.