Skip to content

lazycoffee/lc-ajax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[deprecated]: AJAX is so simple, you don't need a module to help you at all.

ajax

A XMLHttpRequest 2 module

Usage

Just like any other npm module.

install

simply

npm install lc-ajax --save

import

JavaScript

const Ajax = require('lc-ajax');

TypeScript

import Ajax = require('lc-ajax');

use

Ajax.get(url, data, headers);
Ajax.post(url, data, headers, enctype);