Skip to content

Commit

Permalink
feat: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Walkeezy committed Sep 25, 2024
1 parent 8f97c5a commit 8ffb069
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ A set of utilities and helpers to work with DatoCMS in a Next.js project.
## Installation

```bash
npm install @smartive/dato-cms-utilities
npm install @smartive/datocms-utils
```

## Usage

Import and use the utilities you need in your project. The following utilities are available:
Import and use the utilities you need in your project. The following utilities are available.

## Utilities

### Utilities for DatoCMS Cache Tags

The following utilities are used to work with DatoCMS cache tags and a Vercel Postgres database.
The following utilities are used to work with [DatoCMS cache tags](https://www.datocms.com/docs/content-delivery-api/cache-tags) and a [Vercel Postgres database](https://vercel.com/docs/storage/vercel-postgres).

- `storeQueryCacheTags`: Stores the cache tags of a query in the database.
- `queriesReferencingCacheTags`: Retrieves the queries that reference cache tags.
Expand Down

0 comments on commit 8ffb069

Please sign in to comment.