# get-set-var

> variable setter and getter command

Latest version **0.1.2** (published 2015-01-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-set-var
pnpm add get-set-var
yarn add get-set-var
bun add get-set-var
```

Provides the commands `get-set-var`, `get-set-var-init`.

## 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.1.2 |
| Published | 2015-01-09 |
| First published | 2015-01-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Wang Xiaoqiang |
| Maintainers | wxqee |
| Keywords | get-set-var |

## Links

- npm: https://www.npmjs.com/package/get-set-var
- Repository: git@github.com:wxqee/get-set-var
- Homepage: https://github.com/wxqee/get-set-var
- Issues: https://github.com/wxqee/get-set-var/issues
- npm.io page: https://npm.io/package/get-set-var

## Dependencies (2)

- [through](https://npm.io/package/through.md) ^2.3.6
- [split-json](https://npm.io/package/split-json.md) ^1.7.5

## Recent versions

- 0.1.2 (latest) — 2015-01-09
- 0.1.1 — 2015-01-09
- 0.1.0 — 2015-01-09

## README

# get-set-var
Getter and setter to variables for Linux like command line.

# Install
## installation with source code
```
$ git clone https://github.com/wxqee/get-set-var.git get-set-var
$ cd get-set-var/
$ npm install ./ -g
```

# Usage

## choose to use a db/database
Set env *GSV_DB_NAME* can help to identify which db is about to use.
```
$ export GSV_DB_NAME=<db-name>
```

## init a database/db
```
$ get-set-var-init
```

## get and set a var
```
$ get-set-var <variable-to-get>
$ get-set-var <variable-to-set> <value>
```

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