# questing

> ### Install: `yarn add questing` or `npm install --save questing`

Latest version **1.0.0** (published 2017-12-31) · 0 weekly downloads

## Install

```sh
npm install questing
pnpm add questing
yarn add questing
bun add questing
```

## 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.0 |
| Published | 2017-12-31 |
| First published | 2017-12-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Wolfgang Schuster |
| Maintainers | wolfadex |

## Links

- npm: https://www.npmjs.com/package/questing
- Repository: https://github.com/wolfadex/questing
- npm.io page: https://npm.io/package/questing

## Dependencies (2)

- [apiai](https://npm.io/package/apiai.md) ^4.0.3
- [prompt](https://npm.io/package/prompt.md) ^1.0.0

## Recent versions

- 1.0.0 (latest) — 2017-12-31

## README

# questing


### Install:
`yarn add questing` or `npm install --save questing`

### Use:
`gameData.json`
```JSON
{
  "title": "Brief",
  "author": "Wolfgang Schuster",
  "inventory": [],
  "location": "start",
  "items": {
    "pebble": "A tiny stone, not sure it could be used for anything"
  },
  "spaces": {
    "start": {
      "description": "A small white room with a red door and a steel gate.",
      "exits": {
        "red_door": {
          "destination": "end",
          "locked": "pebble"
        },
        "steel_gate": {
          "destination": "other",
          "locked": false
        }
      },
      "items": []
    },
    "other": {
      "description": "A circular room with a steel gate.",
      "exits": {
        "steel_gate": {
          "destination": "start",
          "locked": false
        }
      },
      "items": [
        "pebble"
      ]
    },
    "end": {
      "description": "A large open field, you've won the game!",
      "exits": {
        "red_door": {
          "destination": "start",
          "locked": false
        }
      },
      "items": []
    }
  }
}

```
`myGame.js`
```JavaScript
const questing = require('./index');
const gameData = require('./gameData.json');

questing(gameData);

```

Then just `node ./myGame` from a terminal!

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