An ajax library you need a microscope to see.
Weighs in at 356 bytes gzipped, 534 bytes minified. It is very basic, but cross-browser compatible
Can be used via browserify:
npm install nanoajax
var nanoajax = require('nanoajax')Or you can use the global script:
<script src="/nanoajax.min.js"></script>(You can build that script with: npm install -g uglify-js && ./make)
GET
nanoajax.ajax('/some-get-url', function (code, responseText) {
})POST
nanoajax.ajax('/some-post-url', 'post=content&args=yaknow', function (code, responseText) {
})MIT found in LICENSE file.