intlayer-next-js — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited intlayer-next-js (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Intlayer promotes Component-Level Content Declaration. Instead of a massive global translation file, content is declared in *.content.ts files adjacent to the Next.js components that use them.
To create a translated component, you need two files:
myComponent.content.ts) defining the dictionary.useIntlayer hook.Create a content file using t() for translations. File: src/components/MyComponent/myComponent.content.ts
import { t, type Dictionary } from "intlayer";
const content = {
// The 'key' must be unique and matches what you pass to useIntlayer()
key: "my-component",
content: {
text: t({
en: "Welcome",
fr: "Bienvenue",
es: "Hola",
}),
},
} satisfies Dictionary;
export default content;Mount one IntlayerProvider (from next-intlayer/server) in the [locale] layout. It serves both server and client components, so pages don't wrap themselves (see the Next.js guide).
next-intlayer is isomorphic: the same useIntlayer import works in Server Components and in "use client" components.
import { useIntlayer } from "next-intlayer";
export const MyComponent = () => {
const content = useIntlayer("my-component");
return <h1>{content.text}</h1>;
};The Intlayer Compiler can extract all your content keys from your components, using one CLI command (npx intlayer extract) or automatically at app build.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.