๐Ÿ“ฆ Kong / httpsnippet

๐Ÿ“„ target.ts ยท 22 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22import { Target } from '../targets';
import { axios } from './axios/client';
import { fetch } from './fetch/client';
import { jquery } from './jquery/client';
import { xhr } from './xhr/client';

export const javascript: Target = {
  info: {
    key: 'javascript',
    title: 'JavaScript',
    extname: '.js',
    default: 'xhr',
  },

  clientsById: {
    xhr,
    axios,
    fetch,
    jquery,
  },
};