mirror of
https://github.com/sajenim/javascript-template.git
synced 2025-12-17 03:50:40 +08:00
- Add Node.js to devshell for mature, stable REPL - Create .replrc.js with println() and dir() helpers - Add 'just repl' command with auto-loaded helpers - Add 'just add-dev' and 'just remove' for package management - Update README with complete command reference and feature list
5 lines
196 B
JavaScript
5 lines
196 B
JavaScript
// REPL helper functions
|
|
// Loaded automatically by `just repl`
|
|
|
|
globalThis.println = (...args) => console.log(...args);
|
|
globalThis.dir = (obj) => console.dir(obj, { depth: null, colors: true });
|