get-os-env-var-insomnia-plugin

1.0.12 • Public • Published

Get OS Env Var Insomnia Plugin

Insomnia Plugin to get Environment Variable from OS

Getting Started

Use this project to Get OS Env Variable inside Insomnia REST App.

Prerequisites

Insomnia: Debug APIs like a human, not a robot
NodeJS**: Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

** Node minimum version: 8.9.0

Installing

Open Insomnia APP installed on Mac, Windows or Linux and go to:

ApplicationPreferencesPlugins

Put the npm package name inside input text field and click Install Plugin

Install Plugin

And then the plugin will be installed.

Enable the plugin by clicking on Enable? Switcher.

Enable Plugin

Using the Plugin

First, you need to create your Env Variables on your OS System. Create it accordingly with your system.

Windows

Open Windows Explorer by clicking CTRL + E.
Right Click on This Computer and then click on Properties.
Click on Advanced System Settings in the left menu.
In the Advanced Tab click on Environment Variables.
Put the name and the value for the variable you need.

Linux

Preferably create your Environment Variables on /etc/profile.
Edit /etc/profilea and set the code below

  EXPORT VARIABLE_NAME="VARIABLE VALUE"

Save the file and reload the file running:

  source /etc/profile

Built With

  • NodeJS - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Package Sidebar

Install

npm i get-os-env-var-insomnia-plugin

Weekly Downloads

0

Version

1.0.12

License

MIT

Unpacked Size

5.33 kB

Total Files

6

Last publish

Collaborators

  • 7odri9o