Registry / devops / minime

minime

JSON →
library1.1.5jsnpmunverified

Minime is a CLI tool for minifying front-end assets (JS and CSS). It combines concatenation and minification (UglifyJS for JS) based on a minime.json configuration file. The package appears to be a simple utility with no recent updates; the last version 1.1.5 is likely stable but unmaintained. It differentiates by being a lightweight, configuration-driven command-line tool without a build system integration.

npm install minime
INSTALL
IMPORT
SIG · MINIME
M
minime
devopsjavascriptv1.1.5
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.

minime (CLI)
npm install -g minime && minime -f ./minime.json
This package is a CLI tool, not a library. It does not export any JS symbols. Use via command line.

Shows how to configure minime.json for JS minification and run the CLI.

// Create minime.json { "js": [ { "source": "src/js", "target": "dist/js", "map": { "bundle.min.js": ["a.js", "b.js"] } } ], "css": [] } // Run: minime -f ./minime.json -p
Debug
Known issues
breakingminime.json format changed in version 1.0.0
fix
Update to new format with source, target, and map objects.
affects: <1.0.0
gotchaVersion 1.1.5 uses UglifyJS for minification, which does not support ES6+ syntax by default.
fix
Ensure your JS is ES5 compatible or use another tool like Terser.
affects: 1.1.5
Errors
Common errors & fixes
Error: Cannot find module 'uglify-js'
Missing dependency or global install of uglify-js.
fix
Ensure minime is installed globally with all dependencies: npm install -g minime
ENOENT: no such file or directory, open 'minime.json'
minime.json not found in current directory or specified path.
fix
Create minime.json or use -f flag to specify its location.
Upgrade
Version history
1.1.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
packageminime
minime — npm install minime · libregistry