Skip to content

barktler/Mixin-Base-URL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixin-Base-URL

Build Status codecov npm version downloads

🐟 Base URL Mixin for Barktler

Install

yarn add @barktler/mixin-base-url
# Or
npm install @barktler/mixin-base-url --save

Usage

import { createBaseURLMixin } from "@barktler/mixin-base-url";
import { YourAPI } from "somewhere";

const api: YourAPI = new YourAPI();
api.useMixin(createBaseURLMixin({
    baseURL: 'https://api.example.com',
}));

Documents

See Barktler Documents.

About

🐟 Base URL Mixin for Barktler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published