{"id":13417384,"url":"https://github.com/vituum/vite-plugin-nunjucks","last_synced_at":"2025-04-22T23:32:11.836Z","repository":{"id":144645217,"uuid":"525773775","full_name":"vituum/vite-plugin-nunjucks","owner":"vituum","description":"⚡️💡 Vite plugin for Nunjucks, transforms njk templates into HTML ","archived":false,"fork":false,"pushed_at":"2023-11-17T11:51:32.000Z","size":24,"stargazers_count":11,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T11:50:05.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vituum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-17T12:07:53.000Z","updated_at":"2024-09-21T13:18:12.000Z","dependencies_parsed_at":"2023-11-17T12:48:50.305Z","dependency_job_id":null,"html_url":"https://github.com/vituum/vite-plugin-nunjucks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-nunjucks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-nunjucks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-nunjucks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-nunjucks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vituum","download_url":"https://codeload.github.com/vituum/vite-plugin-nunjucks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340362,"owners_count":21414537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:00:36.192Z","updated_at":"2025-04-22T23:32:11.538Z","avatar_url":"https://github.com/vituum.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Framework-agnostic Plugins"],"readme":"\u003ca href=\"https://npmjs.com/package/@vituum/vite-plugin-nunjucks\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@vituum/vite-plugin-nunjucks.svg\" alt=\"npm package\"\u003e\u003c/a\u003e\n\u003ca href=\"https://nodejs.org/en/about/releases/\"\u003e\u003cimg src=\"https://img.shields.io/node/v/@vituum/vite-plugin-nunjucks.svg\" alt=\"node compatility\"\u003e\u003c/a\u003e\n\n# ⚡💡️ ViteNunjucks\n\n```js\nimport nunjucks from '@vituum/vite-plugin-nunjucks'\n\nexport default {\n    plugins: [\n        nunjucks()\n    ],\n    build: {\n        rollupOptions: {\n            input: ['index.njk.html']\n        }\n    }\n\n}\n```\n\n* Read the [docs](https://vituum.dev/plugins/nunjucks.html) to learn more about the plugin options.\n* Use with [Vituum](https://vituum.dev) to get multi-page support.\n\n## Basic usage\n\nor\n```html\n\u003c!-- index.njk with index.njk.json --\u003e\n{{ title }}\n```\nor\n```html\n\u003c!-- index.json  --\u003e\n{\n  \"template\": \"path/to/template.njk\",\n  \"title\": \"Hello world\"\n}\n```\n\n### Requirements\n\n- [Node.js LTS (16.x)](https://nodejs.org/en/download/)\n- [Vite](https://vitejs.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-nunjucks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvituum%2Fvite-plugin-nunjucks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-nunjucks/lists"}