Compact JavaScript source
is-minify-jsConservative JS minification. Not a parser. Regression-test minified code. Use for small JavaScript snippets where basic whitespace cleanup suffices. For CSS use is-minify-css; for safe production bundling use a real JavaScript parser/minifier. Transformation tool, not a boolean validator. Returns compacted JavaScript source text; not AST-aware, so regression-test behavior before deployment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript source code string, limited to 4096 characters. |