# @elioway/thing

> In the grand scheme of Things, **the elioWay**

Latest version **1.1.8** (published 2023-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @elioway/thing
pnpm add @elioway/thing
yarn add @elioway/thing
bun add @elioway/thing
```

Provides the command `thing`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2023-02-07 |
| First published | 2020-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 12.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tim Bushell |
| Maintainers | timitee |
| Keywords | nodejs, schema |

## Links

- npm: https://www.npmjs.com/package/@elioway/thing
- Repository: https://gitlab.com/eliothing/thing
- Homepage: https://elioway.gitlab.io/eliothing/thing
- Issues: https://gitlab.com/eliothing/thing/issues
- npm.io page: https://npm.io/package/@elioway/thing

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.5
- [commander](https://npm.io/package/commander.md) ^10.0.0

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 1.1.8 (latest) — 2023-02-07
- 1.1.7 — 2023-02-07
- 1.1.6 — 2023-02-07
- 1.1.5 — 2022-12-30
- 1.1.4 — 2022-12-29
- 1.1.3 — 2022-12-21
- 1.1.2 — 2022-12-21
- 1.1.1 — 2022-12-20
- 1.1.0 — 2022-12-20
- 1.0.1 — 2022-12-07
- 1.0.0 — 2022-12-07
- 0.1.0 — 2020-11-15

## README

![](https://elioway.gitlab.io/eliothing/thing/elio-thing-Thing-logo.png)

> In the grand schema of things, **the elioWay**

# thing ![beta](https://elioway.gitlab.io/eliosin/icon/devops/beta/favicon.ico "beta")

A class which converts <https://schema.org> (and other jsonld formats) into simple JSON definitions of Models.

Two reasons to love this **thing**:

1. `ThingBuilder` is the first step to preparing Model classes and modules for databases and MVC projects like Django, Mongoose, etc.

2. **thing** CLI is brilliant for writing out thinglets, Things or lists of Things.

3. [thing Documentation](https://elioway.gitlab.io/eliothing/thing/)

## Installing

- [Installing thing](https://elioway.gitlab.io/eliothing/thing/installing.html)

## Requirements

- [elioFaithful Prerequisites](https://elioway.gitlab.io/eliothing/installing.html)

## Seeing is Believing

```bash
git clone https://gitlab.com/eliothing/thing.git
cd thing
npm i

# prints "thinglet" to screen
npm run thing -- Action

# Default: print a thinglet to screen
npm run thing

# print a thinglet to screen
npm run thing -- --thinglet

# print an Action thinglet
npm run thing -- Action

# print an Thing schema
npm run thing -- --schema

# include SchemaOrg comments to your schema
npm run thing -- --schema --comments

# change the depth to which ThingBuilder will seek less primitively "typed" properties and relationships.
npm run thing -- --schema --depth 2

# write any result into this folder.
npm run thing -- --write "."

# write any result into any folder.
npm run thing -- --write "./myThings/"

# list all the subtypes of Thing
npm run thing -- --list

# list all the subtypes of Action
npm run thing -- Action --list
```

## Nutshell

- [thing Quickstart](https://elioway.gitlab.io/eliothing/thing/quickstart.html)

## License

[MIT](license)

![](https://elioway.gitlab.io/eliothing/thing/apple-touch-icon.png)

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