@foscia/http
v0.12.1
Published
Type safe, modular and intuitive API/data client for JS/TS.
Downloads
10
Readme
@foscia/http
HTTP adapter implementation for Foscia actions.
Usage
This package provides factories to create an HTTP client action factory.
import { makeActionFactory } from '@foscia/core';
import { makeHttpAdapter } from '@foscia/http';
export default makeActionFactory({
...makeHttpAdapter({
baseURL: '/api',
}),
});
License
@foscia/http
is an open-sourced software licensed under the MIT license.