@advanced-rest-client/arc-environment
TypeScript icon, indicating that this package has built-in type declarations

0.2.7 • Public • Published

arc-environment

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

Installation

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

Usage

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.

Development

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

Package Sidebar

Install

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

Weekly Downloads

4

Version

0.2.7

License

Apache-2.0

Unpacked Size

242 kB

Total Files

63

Last publish

Collaborators

  • jarrodek
  • twoplustwoone
  • lbauret
  • carowright