javascript-template/.replrc.js
jasmine 506821f638
Add interactive REPL with helpers and improve package management
- 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
2025-10-28 00:45:57 +08:00

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 });