{"id":42083,"library":"temon","title":"temon","description":"Temon is a TypeScript runner, bundler, and watcher that combines esbuild and nodemon into a single CLI tool. Current stable version is 1.3.4, with active development. It differentiates from alternatives (e.g., ts-node, tsx) by offering integrated bundling via esbuild and automatic restart via nodemon, while being lightweight and easy to configure. Ideal for rapid development and prototyping.","status":"active","version":"1.3.4","language":"javascript","source_language":"en","source_url":"git@github.com:erwinstone/temon","tags":["javascript","esbuild","nodemon","runtime","node","typescript","esbuild nodemon"],"install":[{"cmd":"npm install temon","lang":"bash","label":"npm"},{"cmd":"yarn add temon","lang":"bash","label":"yarn"},{"cmd":"pnpm add temon","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core bundler and transpiler; must be installed separately as a peer dependency","package":"esbuild","optional":false},{"reason":"File watcher and restart tool; must be installed separately as a peer dependency","package":"nodemon","optional":false}],"imports":[{"note":"The package is primarily used as a CLI tool; there is no programmatic API. Ensure esbuild and nodemon are installed as peer dependencies.","wrong":"temon index.ts (without npx if not globally installed)","symbol":"temon (CLI)","correct":"npx temon index.ts"},{"note":"Use --build flag to bundle output. The output path must include the filename.","wrong":"npx temon build index.ts","symbol":"default build","correct":"npx temon index.ts --build dist/index.js"},{"note":"The --watch flag triggers nodemon to restart on file changes. Order of arguments matters: input file first, then flags.","wrong":"npx temon --watch index.ts","symbol":"watch mode","correct":"npx temon index.ts --watch"}],"quickstart":{"code":"npm install --save-dev esbuild nodemon temon\nnpx temon index.ts --build dist/index.js --minify --watch","lang":"bash","description":"Local install with peer deps, then run a TypeScript file with bundling, minification, and watch mode."},"warnings":[{"fix":"Run 'npm install --save-dev esbuild nodemon temon' for a local install.","message":"Peer dependencies esbuild and nodemon must be installed manually; they are not automatically installed with temon.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Ensure the --build path is specified correctly; nodemon watches the input file but restarts based on output file changes.","message":"The --watch flag uses nodemon; output bundling may not trigger correct restarts if output path is not correctly configured.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Example: npx temon \"index.ts --test\" --watch","message":"When passing arguments to the script, they must be enclosed in quotes and placed before --watch or other flags.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.3.4':24 'activ':26 'altern':31 'automat':44 'bundl':40 'bundler':7 'cli':18 'combin':11 'configur':54 'current':20 'develop':27,58 'differenti':29 'e.g':32 'easi':52 'esbuild':12,42,62,67 'ideal':55 'integr':39 'javascript':61 'lightweight':50 'node':35,65 'nodemon':14,47,63,68 'offer':38 'prototyp':60 'rapid':57 'restart':45 'runner':6 'runtim':64 'singl':17 'stabl':21 'temon':1,2 'tool':19 'ts':34 'ts-node':33 'tsx':36 'typescript':5,66 'version':22 'via':41,46 'watcher':9","created_at":"2026-06-04T18:55:32.228579+00:00","updated_at":"2026-06-04T18:55:32.228579+00:00","problems":[{"fix":"npm install --save-dev esbuild","cause":"Missing peer dependency esbuild","error":"Error: Cannot find module 'esbuild'"},{"fix":"npm install --save-dev nodemon","cause":"Missing peer dependency nodemon","error":"Error: Cannot find module 'nodemon'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/erwinstone/temon#readme","github":"git@github.com:erwinstone/temon","docs":null,"changelog":null,"pypi":null,"npm":"temon","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}