Registry / web-framework / codenut-compiler

codenut-compiler

JSON →
library2.1.6jsnpmunverified

Codenut-compiler is a template compiler for the Nunjucks HTML framework, version 2.1.6. It appears to compile Nunjucks templates into HTML. The package has minimal documentation and an auto-generated README from GitHub Pages, suggesting it may be a personal or experimental project. It is published on npm but lacks usage examples, contributing guidelines, or a clear API. The repository shows little activity, and the package has few downloads. This makes it potentially unstable or unsupported for production use. It differentiates itself from standard Nunjucks by being a specific compiler, but without clear documentation, its reliability is uncertain.

npm install codenut-compiler
INSTALL
IMPORT
SIG · CODENUT-COMPILER
C
codenut-compiler
web-frameworkjavascriptv2.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

codenut-compiler
import compiler from 'codenut-compiler'
const compiler = require('codenut-compiler')
Package appears to use ESM but may not export a default; check documentation.
compile
import { compile } from 'codenut-compiler'
const { compile } = require('codenut-compiler')
Named export may not exist; verify exports.

Basic usage: compile a Nunjucks template with context.

import compiler from 'codenut-compiler'; const template = 'Hello {{ name }}!'; const result = compiler(template, { name: 'World' }); console.log(result); // 'Hello World!'
Debug
Known issues
gotchaPackage lacks documentation; usage may differ from expectations.
fix
Review source code or contact author.
affects: >=2.0
Errors
Common errors & fixes
Cannot find module 'codenut-compiler'
Package not installed or ESM import not properly configured.
fix
Install via npm install codenut-compiler and ensure entry point is correct.
Upgrade
Version history
2.1.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
1
Resources
codenut-compiler — npm install codenut-compiler · libregistry