import { AxleTypes } from '../index' ; import AxleRequest from '../models/request' ; import AxleResponse from '../models/response' ; export default async function get ( url , options = { mode : 'cors' , cache : 'default' , } ) { const req = new AxleRequest ( 'GET' , url , undefined , options ) ; const res = await req . run ( ) ; return res ; }