0.1.10 • Published 2 years ago

@advanced-rest-client/base v0.1.10

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Advanced REST Client application base components

This repository contains the most of ARC's sources. These base components are used in the ARC app as the main UI regions and in derivative applications (like API Console).

Why we need this?

These components are shared between ARC and API Console. The later uses ARC components as base foe the views. However, ARC uses both libraries. To remove circular dependencies the base UI components are now in a separate library.

What is not in here?

  • ARC application logic
  • ARC platform bindings
  • ARC main screens

What is included?

All stuff that relates to base UI regions in API Console and Advanced REST Client.

  • HTTP editors
  • HTTP processing libraries
  • UI components for ARC & API Console
  • Parsers (variables, HTTP headers, URL, etc.)
  • ARC's request engine
  • ARC actions
  • ARC processing libraries
  • HAR UI and libraries
  • ARC themes
  • ARC variables

Structure

For the API Components use the api.js import to limit the number of imported libraries into the project.

import { stuff... } from '@advanced-rest-client/base/api.js';

For anything else use base import: @advanced-rest-client/base.

Development

git clone https://github.com/advanced-rest-client/base
cd base
npm install

Running the demo locally

npm start

Running the tests

npm test

Note, Firefox is temporarily removed from tests until Playwright update FF version to at least 91.