# envmgr2

> ```javascript import {envmgr, r} from "envmgr2";

Latest version **0.0.7** (published 2022-01-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install envmgr2
pnpm add envmgr2
yarn add envmgr2
bun add envmgr2
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2022-01-26 |
| First published | 2022-01-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pavel Karlovich |
| Maintainers | p.karlovich |

## Links

- npm: https://www.npmjs.com/package/envmgr2
- npm.io page: https://npm.io/package/envmgr2

## Recent versions

- 0.0.7 (latest) — 2022-01-26
- 0.0.6 — 2022-01-25
- 0.0.5 — 2022-01-25
- 0.0.4 — 2022-01-25
- 0.0.3 — 2022-01-25
- 0.0.2 — 2022-01-25
- 1.0.1 — 2022-01-25
- 0.0.1 — 2022-01-21

## README

```javascript
import {envmgr, r} from "envmgr2";

/**
 * usual case
 */
  run();
  async function run() {
  await envmgr.generateTemplate('TEST.list.ts')
  envmgr.generate().catch(e => console.error('Example failed', e));
  }



/**
 * case with settings
 */
  const settings: ISettings = {
  compact: false,
  envOutputFileName: '.full-size.env'
  }
  envmgr.generate(settings).catch(e => console.error('Example failed', e));

/**
 * case with no comments
 */

const settings2 = {
noComments: true,
compact: true,
envOutputFileName: '.no-comments.env'
}
envmgr.generate(settings2).catch(e => console.error('Example failed', e));

/**
 * Checking
 */
process.env.ENV1 = 'some_value';

envmgr.check().catch(e => {
    console.error('Example failed', e);
});

```

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