Registry / devops / temon
library1.3.4jsnpmunverified

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.

npm install temon
INSTALL
IMPORT
SIG · TEMON
T
temon
devopsjavascriptv1.3.4
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.

temon (CLI)
npx temon index.ts
temon index.ts (without npx if not globally installed)
The package is primarily used as a CLI tool; there is no programmatic API. Ensure esbuild and nodemon are installed as peer dependencies.
default build
npx temon index.ts --build dist/index.js
npx temon build index.ts
Use --build flag to bundle output. The output path must include the filename.
watch mode
npx temon index.ts --watch
npx temon --watch index.ts
The --watch flag triggers nodemon to restart on file changes. Order of arguments matters: input file first, then flags.

Local install with peer deps, then run a TypeScript file with bundling, minification, and watch mode.

npm install --save-dev esbuild nodemon temon npx temon index.ts --build dist/index.js --minify --watch
Debug
Known issues
gotchaPeer dependencies esbuild and nodemon must be installed manually; they are not automatically installed with temon.
fix
Run 'npm install --save-dev esbuild nodemon temon' for a local install.
affects: >=1.0.0
gotchaThe --watch flag uses nodemon; output bundling may not trigger correct restarts if output path is not correctly configured.
fix
Ensure the --build path is specified correctly; nodemon watches the input file but restarts based on output file changes.
affects: >=1.0.0
gotchaWhen passing arguments to the script, they must be enclosed in quotes and placed before --watch or other flags.
fix
Example: npx temon "index.ts --test" --watch
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'esbuild'
Missing peer dependency esbuild
fix
npm install --save-dev esbuild
Error: Cannot find module 'nodemon'
Missing peer dependency nodemon
fix
npm install --save-dev nodemon
Upgrade
Version history
1.3.4latest on npm
Audit
Dependencies
esbuildrequiredCore bundler and transpiler; must be installed separately as a peer dependency
nodemonrequiredFile watcher and restart tool; must be installed separately as a peer dependency
Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
packagetemon
temon — npm install temon · libregistry