@phiskills/http-client
v0.0.2
Published
Phi Skills Http Client
Downloads
7
Readme
Phi Skills HTTP Client for JavaScript
| Homepage | https://phiskills.com | | ------------ | --------------------------------- | | GitHub | https://github.com/phiskills |
Overview
This project contains the JavaScript package to create an HTTP Client.
Installation
npm i @phiskills/http-client
Creating the client
import { build } from "@phiskills/http-client"
const client = build({ host: 'localhost', port: 80, token: '...zH34sk00wK...' })
const items = await client.get('api/items')
For more details, see Fetch API.