A set of components and libraries to support variables and environments in Advanced REST Client

Usage no npm install needed!

<script type="module">
  import advancedRestClientArcEnvironment from 'https://cdn.skypack.dev/@advanced-rest-client/arc-environment';



The UI and logic related to environment and variables management in Advanced REST Client.


npm i @advanced-rest-client/arc-environment


The variables-overlay renders an overlay with a list of variables in the current environment. The environment-selector renders an UI to select an environment. The variables-list renders a basic list of variables.

All of these elements are powered by @advanced-rest-client/arc-models which acts as a context store for the environments and variables.

The VariablesProcessor is a class that processes input to look for variables and replaces them in the input. This is used in ARC to process the request data.

The VariablesConsumerMixin can be used to extend a ListElement base to provide the element with functions and variables related to environments and variables.


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

Running the demo locally

npm start

Running the tests

npm test