@ -66,6 +66,8 @@ Or if you're into Yarn
@@ -66,6 +66,8 @@ Or if you're into Yarn
yarn add @ojizero/portal
```
<!-- We separate installation of `got` and `portal` to prepare for later support of multiple internal clients, mainly to support browsers using `ky` without introducing breaking changes. -->
## Usage
Aimed to be used as a building block for API client libraries
@ -4,10 +4,6 @@ This is a sample client build for Elasticsearch using Portal, is provides an API
@@ -4,10 +4,6 @@ This is a sample client build for Elasticsearch using Portal, is provides an API
## Usage
```
npm start # starts a docker container with elasticsearch instance
node ./index.js # run the sample code
npm stop # stop and remove the docker container
```bash
npm test # starts a docker image for elasticsearch, runs index.js then kill the container