ljr-cli

raw JSON →
1.0.17 verified Fri May 01 auth: no javascript

ljr-cli is a command-line tool (v1.0.17) that serves as a convenience wrapper for Less CSS compilation and watching. It requires global installations of `less` and `less-watch-compiler`. Limited functionality and niche use case; primarily a meta-package or personal scaffolding tool. Release cadence unknown; appears inactive with basic features. Differentiator: minimal dependency setup for Less workflows, but offers little beyond standard tooling.

error Error: Cannot find module 'less'
cause less is not installed globally.
fix
Run npm install -g less before using ljr-cli.
error Error: Cannot find module 'less-watch-compiler'
cause less-watch-compiler is not installed globally.
fix
Run npm install -g less-watch-compiler before using ljr-cli.
gotcha Requires Node >=20.19.0 or >=22.12.0 due to engine specification. Older Node versions will fail to install.
fix Upgrade Node to ^20.19.0 or ^22.12.0.
gotcha ljr-cli has no documented options or help flag. Its behavior is inferred solely from its name and dependencies.
fix Review source code or use alternative Less compilers with proper documentation.
deprecated less-watch-compiler is unmaintained and may have compatibility issues with modern Less versions.
fix Use less-watch-compiler alternatives like 'less' built-in watch or chokidar-cli.
npm install ljr-cli
yarn add ljr-cli
pnpm add ljr-cli

Installs required global tools and runs ljr-cli to compile and watch Less files.

npm install -g less
npm install -g less-watch-compiler
npm install -g ljr-cli
# Compile and watch:
ljr-cli src/less dist/css