tammy-adapter-xhr

1.0.2 • Public • Published

Tammy // xhr

npm package

Note: xhr adapter

NPM version NPM Downloads


Installation

Load tammy via classical <script> tag

<script src="//cdn.jsdelivr.net/npm/tammy/umd.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/tammy-adapter-xhr/umd.min.js"></script>
tammy.http.install(tammyAdapterXhr);

CommonJS style with npm

npm install tammy --save
 
# for the browser 
npm install tammy-adapter-xhr --save
 
// es6
import { http } from 'tammy';
import xhr from 'tammy-adapter-xhr';
 
http.defaults.adapter = xhr;
 

Package Sidebar

Install

npm i tammy-adapter-xhr

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

21.5 kB

Total Files

6

Last publish

Collaborators

  • fengxinming