> For the complete documentation index, see [llms.txt](https://wastefuldb.gitbook.io/wastefuldb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wastefuldb.gitbook.io/wastefuldb/asyncwastefuldb/constructor-setup.md).

# Constructor Setup

## Quick Setup

```javascript
const AsyncWastefulDB = require("wastefuldb/async");
const db = new AsyncWastefulDB();
```

***

## Setup Options

```javascript
// These are the default arguments when left empty.
new AsyncWastefulDB({
    path: "./syncData/"
    feedback: true,
    parse: true,
    kill: false
})
```

### • path

Specifying a path will override the default directory each function uses to create, find, and update documents. This **won't** override the directories specified using the *{dir}* parameter in each function.

### • feedback

A confirmation message will be sent to **stdout** (aka console.log) after each function is executed successfully. Most messages will include the target document's identifier.

### • parse

Dictates whether or not the JSON contained in a document should be parsed when **returned** after a function is executed. Data is always stringified when written to documents.

### • kill

([Refer to the normal docs](https://wastefuldb.gitbook.io/wastefuldb#kill))
