Registry / devops / lilliput

lilliput

JSON →
library0.2.0jsnpmunverified

A lightweight CLI tool for minifying JS and CSS files. Version 0.2.0, no active development or recent releases. Designed for simple, ad-hoc minification without dependencies, unlike UglifyJS. Supports combining files into one minified output, separate minification per file, and deletion of originals. Suitable for small projects or build scripts where a tiny tool is preferred.

npm install lilliput
INSTALL
IMPORT
SIG · LILLIPUT
L
lilliput
devopsjavascriptv0.2.0
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.

lilliput (CLI)
npx lilliput -A
lilliput() as a function
Lilliput is a CLI tool, not a library. Use via command line or npm scripts.

Minify all CSS/JS files in the current directory and subdirectories into a single 'all.min.css' file.

npx lilliput -A # or install globally: npm install -g lilliput lilliput -A
Debug
Known issues
gotchaDefault output file extension is .css, even for JavaScript files. JS files will be minified but saved with .css extension unless using separate mode.
fix
Use --separate or specify output name explicitly.
affects: >=0.0.0
gotcha--delete removes original files after minification; --delete-all removes all source files without prompt.
fix
Ensure you have backups or version control before using delete options.
affects: >=0.0.0
gotchaNo warning is shown when output already exists; it will be overwritten silently.
fix
Check for existing files manually before running.
affects: >=0.0.0
Errors
Common errors & fixes
lilliput: command not found
Lilliput is not installed globally or locally.
fix
Run 'npm install -g lilliput' or use 'npx lilliput'.
Error: Cannot find module 'lilliput'
Requiring lilliput as a Node module instead of using CLI.
fix
Lilliput is a CLI tool. Use it via command line, not require().
Upgrade
Version history
0.2.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
lilliput — npm install lilliput · libregistry