{"id":27177,"library":"node-kit","title":"Node Kit","description":"Node-based compiler for .kit template files (CodeKit format). Version 0.11.0, last updated in 2018. Low maintenance cadence. Supports variables, includes, and preprocessing for HTML templates. Differentiator: replicates CodeKit's .kit workflow in Node.js, enabling server-side or build-time compilation without the GUI.","status":"maintenance","version":"0.11.0","language":"javascript","source_language":"en","source_url":"git://github.com/jeremyworboys/node-kit","tags":["javascript","node","kit","codekit","preprocess","preprocessor","html","import","include"],"install":[{"cmd":"npm install node-kit","lang":"bash","label":"npm"},{"cmd":"yarn add node-kit","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-kit","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Default export in ESM; also available as CommonJS require for older Node versions.","wrong":"const kit = require('node-kit')","symbol":"kit","correct":"import kit from 'node-kit'"},{"note":"Named export for compile function; no submodule export.","wrong":"const compile = require('node-kit/compile')","symbol":"compile","correct":"import { compile } from 'node-kit'"},{"note":"Direct named export; also accessible via default import property.","wrong":"const compileFile = require('node-kit').compileFile","symbol":"compileFile","correct":"import { compileFile } from 'node-kit'"}],"quickstart":{"code":"import kit from 'node-kit';\nconst html = kit('path/to/template.kit');\nconsole.log(html);","lang":"javascript","description":"Compiles a .kit file to HTML using the default export."},"warnings":[{"fix":"Use named exports or ensure correct import style.","message":"Default export is not a function in all versions? Verify.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider alternatives or pin to known safe version.","message":"Package has not been updated since 2018, may contain unpatched vulnerabilities.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Ensure input files have .kit extension.","message":"Only works with .kit files; not compatible with other template formats.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.11.0':14 '2018':18 'base':5 'build':44 'build-tim':43 'cadenc':21 'codekit':11,32,53 'compil':6,46 'differenti':30 'enabl':38 'file':10 'format':12 'gui':49 'html':28,56 'import':57 'includ':24,58 'javascript':50 'kit':2,8,34,52 'last':15 'low':19 'mainten':20 'node':1,4,51 'node-bas':3 'node.js':37 'preprocess':26,54 'preprocessor':55 'replic':31 'server':40 'server-sid':39 'side':41 'support':22 'templat':9,29 'time':45 'updat':16 'variabl':23 'version':13 'without':47 'workflow':35","created_at":"2026-05-01T17:44:54.760826+00:00","updated_at":"2026-05-01T17:44:54.760826+00:00","problems":[{"fix":"Run `npm install node-kit` in your project directory.","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'node-kit'"},{"fix":"Use `import kit from 'node-kit'` or `const kit = require('node-kit')` for CommonJS.","cause":"Incorrect import style; default import not used properly.","error":"TypeError: kit is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"node-kit","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/jeremyworboys/node-kit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-kit","openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}