{"library":"hmpo-nunjucks-test","type":"library","category":null,"description":"hmpo-nunjucks-test is a specialized JavaScript library designed for testing Nunjucks templates, including robust support for localization and dynamic rendering. It is currently stable at version 3.0.0, which mandates Node.js v24.x for execution. While there isn't a strict release cadence, updates appear to be made on an as-needed basis, often involving dependency updates and Node runtime bumps. Its core functionality revolves around a `renderer` factory function that sets up a Nunjucks environment, allowing developers to create a render function capable of processing templates, raw strings, or components/macros. A key differentiator is its integrated support for `hmpo-components` globals and filters, and its focus on robust localization testing, making it particularly useful within the HMPO ecosystem for ensuring UI consistency and translation accuracy. It provides granular control over the rendering context, translation flags, and component parameters, addressing common testing challenges in Nunjucks-based applications.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hmpo-nunjucks-test","imports":["import { renderer } from 'hmpo-nunjucks-test';","import * as hmpoNunjucksTest from 'hmpo-nunjucks-test';"]},{"cmd":"yarn add hmpo-nunjucks-test","imports":[]},{"cmd":"pnpm add hmpo-nunjucks-test","imports":[]}],"homepage":null,"github":"https://github.com/HMPO/hmpo-nunjucks-test","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hmpo-nunjucks-test","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hmpo-nunjucks-test/compatibility"}}