npm.io
1.0.0 • Published 6 years ago

insomnia-plugin-system-env

Licence
MIT
Version
1.0.0
Deps
0
Size
102 kB
Vulns
0
Weekly
0
Stars
5

Insomnia Plugin - System Env

A simple insomnia plugin that allows access to system environment variables from within insomnia.

Examples

Example 1

Access a system environment variable within insomnia.

  1. Get a list of environment variables:
$ env

USERNAME=etauker
HOME=/home/etauker
...
  1. Provide the environment variable name in the template tag: Insomnia input screenshot
Example 2

Access custom environment variable within insomnia.

  1. Set the variable from the same shell that you use to open insomnia
$ SOME_TOKEN=3fc345d2-9dd8-48e8-a178-3c91c867cc41 insomnia
  1. Use the custom environment variable name the same way as in example 1: Insomnia input screenshot

Keywords