Skip to main content
Version: 1.x

Ratelimit

ratelimit

Create compiler + runtime plugins for rate limiting.

Runtime options are provided via configureRatelimit().

Signature
function ratelimit(options?: Partial<{
compiler: import('commandkit').CommonDirectiveTransformerOptions;
}>): CommandKitPlugin[]

Parameters

options

parameter
Partial<{ compiler: import('commandkit').CommonDirectiveTransformerOptions; }>