Skip to main content

Overview

Tags are the Law4Devs taxonomy — a curated set of labels applied to articles and requirements across all frameworks. Using tags you can find related content spanning multiple regulations (e.g. all articles tagged "data-breach" across GDPR, NIS2, and CRA).

Methods

list()

Returns a page of tags.
Parameters Returns Promise<Page<Tag>>

get()

Fetch a single tag by its slug.
Parameters Returns Promise<Tag>

iter()

Iterate over all tags.
Parameters — same options as list() (except page, which is managed internally). Returns AsyncGenerator<Tag>

Model

Tag


Example: build a tag index