source-js-minifier
JSON →source-js-minifier v0.0.4 is a CLI tool that downloads a webpage from a given URL, fixes relative URLs, minifies CSS stylesheets in-place, and replaces or concatenates JavaScript with a minified version (using terser or a custom minifier built with acorn/recast/astring). It is a demonstration/work-in-progress project with no active release cadence. Key differentiators include optional concatenation of all scripts, CSS minification, and an experimental custom minifier using AST manipulation. However, it is unstable, lacks tests, and is not recommended for production use.
Resources
packagesource-js-minifier ↗
API endpoints
full doc /v1/registry/source-js-minifier