# insomnia-plugin-system-env

> Insomnia plugin for accessing system environment variables

Latest version **1.0.0** (published 2020-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install insomnia-plugin-system-env
pnpm add insomnia-plugin-system-env
yarn add insomnia-plugin-system-env
bun add insomnia-plugin-system-env
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-03-07 |
| First published | 2020-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 101.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Tautvydas Kersulis |
| Maintainers | etauker |
| Keywords | insomnia, etauker |

## Links

- npm: https://www.npmjs.com/package/insomnia-plugin-system-env
- Repository: https://github.com/etauker/insomnia-plugin-system-env
- Homepage: https://github.com/etauker/insomnia-plugin-system-env#readme
- Issues: https://github.com/etauker/insomnia-plugin-system-env/issues
- npm.io page: https://npm.io/package/insomnia-plugin-system-env

## Recent versions

- 1.0.0 (latest) — 2020-03-07

## README

# 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
...
```

2. Provide the environment variable name in the template tag:
![Insomnia input screenshot](./images/insomnia-input-screenshot-system.png "Insomnia input screenshot with system environment variable")


### 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
```

2. Use the custom environment variable name the same way as in example 1:
![Insomnia input screenshot](./images/insomnia-input-screenshot-custom.png "Insomnia input screenshot with custom environment variable")

---
_Source: https://npm.io/package/insomnia-plugin-system-env · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
