# @patarapolw/eqdict

> A dictionary / Record / JavaScript object can be generated from a string with Equal (=) sign

Latest version **1.0.6** (published 2020-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @patarapolw/eqdict
pnpm add @patarapolw/eqdict
yarn add @patarapolw/eqdict
bun add @patarapolw/eqdict
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-01-10 |
| First published | 2020-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pacharapol Withayasakpunt |
| Maintainers | patarapolw |

## Links

- npm: https://www.npmjs.com/package/@patarapolw/eqdict
- Repository: https://github.com/patarapolw/eqdict
- npm.io page: https://npm.io/package/@patarapolw/eqdict

## Recent versions

- 1.0.6 (latest) — 2020-01-10
- 1.0.5 — 2020-01-10
- 1.0.4 — 2020-01-10
- 1.0.3 — 2020-01-10

## README

# eqdict

[![npm version](https://badge.fury.io/js/eqdict.svg)](https://badge.fury.io/js/eqdict)

A dictionary / Record / JavaScript object can be generated from a string with Equal (=) sign. For example,

- `'a=1 b="x y z"'` => `{ a: '1', b: 'x y z' }`

A base utility for [indent-utils](https://github.com/patarapolw/indent-utils) and [hyperpug](https://github.com/patarapolw/hyperpug)

## Usage

```typescript
import eqdict from 'eqdict'
console.log(eqdict('a=1 b="x y z"'))
```

## Usage on the browser

```html
<script src="https://unpkg.com/eqdict@:version/umd/index.min.js"></script>
<script>
console.log(eqdict('a=1 b="x y z"'))
</script>
```

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