# node-opt

> Very basic options

Latest version **1.0.1** (published 2013-09-11) · Creative Commons Attribution license · 0 weekly downloads

## Install

```sh
npm install node-opt
pnpm add node-opt
yarn add node-opt
bun add node-opt
```

## 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.1 |
| Published | 2013-09-11 |
| First published | 2013-09-11 |
| Weekly downloads | 0 |
| License | Creative Commons Attribution |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.1.90 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Darren Looby |
| Maintainers | darrenlooby |
| Keywords | Options, node |

## Links

- npm: https://www.npmjs.com/package/node-opt
- Repository: https://github.com/darrenlooby/node-opt
- Homepage: https://github.com/darrenlooby/node-opt.git
- Issues: https://github.com/darrenlooby/node-opt/issues
- npm.io page: https://npm.io/package/node-opt

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2013-09-11
- 1.0.0 — 2013-09-11

## README

node-opt
========

Very basic options for NodeJS

# OptJS - is a very small options store for your NodeJS applicaiotn.

## Installation

    npm install opt

## Bit more detail

Stores options as pairs in an object. It's not multidementional. It's flat!
Values can be objects themselves - but, names are strings.

## Usage

``` js

var opt = require('./opt');

opt();
// returns all params that are stored

opt({obj});
// stores a set of pairs (overwriting).
//If JSON can be string and will break functionality (won't throw error however)

opt('name');
// returns the value associated with that name

opt('name', 'value');
// sets a single option of 'name' to 'value'

```

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