.njk

1 claimant 1 primary 0 secondary unambiguous primary

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

1.4M
total files
824.4K
first seen 2021–2025 (59.0%)
2021
median year (half its files since)

Case variants in archive: .njk (1.4M), .NJK (5) — aggregated above.

Attribution status

This extension is attributed to Nunjucks as primary by 1 authoritative claim.

Authoritative sources: ✓ Linguist ✗ Pygments · no claim △ Wikidata · secondary ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (2)

Languages that list .njk among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Nunjuckslinguistprimary
Nunjuckswikidatasecondary

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .njk on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Nunjucks Q101001102
template engine
template processor; JavaScript library———Use as new PL ↗

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
Nunjucks (1) — 1 via unique-primary
personal-statement.njk · 764 B · seen 162× in SWH
predicted: Nunjucks via unique-primary
swh:1:cnt:4c1c4be18ae6abfef87b8b5112246a1e74ab6fff;origin=https://github.com/christopherthomasdesign/dfe-manage-teacher-applications;anchor=swh:1:rev:60531bd06cf7acfe999dcc406868e368471f0c35;path=/app/views/_includes/application/personal-statement.njk
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .njk is, request a fresh mining run.
(or open the pre-filled issue directly)