Skip to content
DocsReference
DocsReferenceGitHub

Search Ridu documentation

tab controls

Loading search…

Search will be ready in a moment.

No matching results

Try a different term or search every section.

Loading search.

Preparing index…View all results →↑↓ move↵ openesc close
Get started
Modules/@riducms/plugin-seo
FlengthState

Go packages

riducorefieldoperationqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestconformance

Official adapters

postgressqlitemongodbstorage/localstorage/s3

Official plugins

graphqlmcprichtextseoformbuilder@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder@riducms/plugin-graphql

TypeScript packages

@riducms/sdk@riducms/sveltekit@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/admin@riducms/translations@riducms/cli/run

Tooling

ridu CLI
All@riducms/plugin-seoriducorefieldoperationqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestpostgressqlitemongodbgraphqlmcprichtextseoformbuilderstorage/localstorage/s3conformance@riducms/sdk@riducms/sveltekit@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/plugin-richtext@riducms/plugin-form-builder@riducms/plugin-graphql@riducms/admin@riducms/translations@riducms/cli/runridu CLI
All 7lengthStategenerationSnapshotTokengenerationScopeTokenseoAdminPlugin

function

lengthState

Classify a title or description against inclusive advisory bounds.

ArgumentsReturnsFull signature

Arguments

ArgumentTypeDescription
textstringThe text value.
minLengthnumberThe minLength value.
maxLengthnumberThe maxLength value.

Returns

The declared result.

LengthState

Full signature

function lengthState( text: string, minLength: number, maxLength: number, ): LengthState

Source packages/plugin-seo/src/lib/index.ts:57

Related types

  • LengthState

    Length classification, progress, and remaining character count.