nuxt-rl
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

nuxt-rl

npm version npm downloads License Nuxt

A nuxt module for managing rate limits in any environment. This module is in early development, there may be frequent breaking changes.

Features

  • ⛰  Cloudflare Support
  • 🚠  Per-user rate limits

Quick Setup

  1. Add nuxt-rl dependency to your project
# Using pnpm
pnpm add -D nuxt-rl

# Using yarn
yarn add --dev nuxt-rl

# Using npm
npm install --save-dev nuxt-rl
  1. Add nuxt-rl to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ["nuxt-rl"],
})

That's it! You can now use nuxt-rl in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Readme

Keywords

none

Package Sidebar

Install

npm i nuxt-rl

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

26.2 kB

Total Files

14

Last publish

Collaborators

  • ohboo