# object-fromtext

> Get object from text.

Latest version **0.1.1** (published 2018-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install object-fromtext
pnpm add object-fromtext
yarn add object-fromtext
bun add object-fromtext
```

## 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.1 |
| Published | 2018-01-25 |
| First published | 2018-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wolfram77@gmail.com |
| Maintainers | wolfram77 |
| Keywords | object, from, text |

## Links

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

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.1.1 (latest) — 2018-01-25
- 0.1.0 — 2018-01-25
- 0.0.9 — 2018-01-25
- 0.0.8 — 2018-01-25
- 0.0.7 — 2018-01-25
- 0.0.6 — 2018-01-25
- 0.0.5 — 2018-01-25
- 0.0.4 — 2018-01-25
- 0.0.3 — 2018-01-25
- 0.0.2 — 2018-01-25

## README

# object-fromtext

[![NPM](https://nodei.co/npm/object-fromtext.png)](https://nodei.co/npm/object-fromtext/)

Get [object] from text.

```javascript
const fromText = require('object-fromtext');
// fromText(<text>, [property separator=\n], [key separator==])

fromText('f1=help\nf2=load');
// {f1: 'help', f2: 'load'}
fromText('f3=find;f4=output', ';');
// {f3: 'find', f4: 'output'}
fromText('f5:continue run;f6:next window', ';', ':');
// {f5: 'continue run', f6: 'next window'}
```


[object]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects

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