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

# Getting started

Once everything is set up, create a depot like this:

```javascript
const books = depot()
```

You can now create...

```javascript
books.add({ title: "The Call of Cthulhu" })
```

or update...

```javascript
const book = books.last()

// Add a new author field to the book item
books.save({ ...book, author: "H. P. Lovecraft" })
```

or delete any record...

```javascript
const book = books.last()

// Remove the last book from the collection
books.remove(book)
```
