open-index/open-npm huggingface dataset:
npm package: @sparksweb/nuxt-client-guard
Description: Nuxt module that validates whether a user is an authorized SparksWeb client before granting access.
Author: SparksWeb
Latest version: 1.0.6

# nuxt-client-guard

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Nuxt][nuxt-src]][nuxt-href]

## Description

Nuxt module that validates whether a user is an authorized SparksWeb client before granting access.

## Quick Setup

Install the module to the Nuxt application:

```bash
npx nuxi module add @sparksweb/nuxt-client-guard
```

## Options
| Option        | Type     | Description                                          |
| ------------- | -------- |------------------------------------------------------|
| `projectName` | `string` | Name of the project to validate against.             |
| `apiUrl`      | `string` | Base URL of your auth/validation API. (Without /api) |
| `apiKey`      | `string` | API key used to authenticate module requests.        |


<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@sparksweb/nuxt-client-guard/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@sparksweb/nuxt-client-guard

[npm-downloads-src]: https://img.shields.io/npm/dm/@sparksweb/nuxt-client-guard.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npm.chart.dev/@sparksweb/nuxt-client-guard

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com