Skip to content

Development

CommandPurpose
npm run buildRelease native addon + generated JS/TS
npm run build:debugDebug native build
npm testNode tests: __test__/*.test.mjs, JSON conformance, parity vs nunjucks (build first)
npm run test:rustRust integration tests (native/crates/runjucks-core/tests/)
npm run test:rust:greenSmaller subset of Rust tests
npm run test:conformance:rust / test:conformance:nodeJSON goldens (subset of npm test)
  • Node packagepackage.json, index.js, index.d.ts, __test__/, generated *.node
  • native/ — Cargo workspace (Cargo.toml, crates/runjucks-core/, crates/runjucks-napi/, fixtures under native/fixtures/)

The runjucks_core crate documents the engine publicly; browse it on the docs site (Rust crate (rustdoc)) or with cargo doc -p runjucks_core.

For notes on running a Nunjucks-style Mocha harness against renderString, see test-shim/README.md in the repo.

A detailed, maintainer-oriented checklist of behavior vs Nunjucks lives in NUNJUCKS_PARITY.md in the repository. End users should rely on Template language, JavaScript API, and Limitations instead.