JSOO_MINIFY(1)
β¨ jsoo_minify(1) β¨
okay bestie, welcome to the jsoo_minify page from the Jsoo_minify Manual β yes it's a section 1 command, and yes it's about to make your JavaScript smol π
π NAME π
jsoo_minify β a JavaScript minifier. that's it. that's the whole job. it takes your chunky JS and makes it β¨compactβ¨
πΈ SYNOPSIS πΈ
jsoo_minify [OPTION]β¦ [JS_FILES]β¦
so likeβ¦ you give it some options, you give it some JS files, and it does its thing π¦
π DESCRIPTION π
jsoo_minify is a JavaScript minifier. no cap, that's literally the description. it minifies JavaScript. main character energy, minimal words, we love that for it π
β¨ OPTIONS β¨
--custom-header=VALβ drop in your own custom header for the generated JavaScript file. super handy when you wanna make the script an executable file with#!/usr/bin/env nodeπ«Ά--debug=SECTIONβ turn on debug for[SECTION].--debuginfo,--debug-infoβ spit out debug information. two spellings, same vibe π--disable=OPTβ turn OFF the optimization[OPT].--enable=OPTβ turn ON the optimization[OPT].--noinline,--no-inlineβ no inlining, bestie. inlining has left the chat π-o FILEβ set the output file name to[FILE].--prettyβ pretty print the output, so it's giving readable instead of giving squished π-q,--quietβ suppress non-error messages. shhh π€«--stdinβ read from standard input.-w WARNβ enable or disable the warnings specified by the argument[WARN].--Werrorβ turn all warnings into errors. yes all of them. dramatic but valid π
π COMMON OPTIONS π
--help[=FMT](default=auto) β show this help in formatFMT. the valueFMTmust be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined. (so if your terminal is being a hater, you get plain, periodt)--versionβ show version information.
π₯ EXIT STATUS π₯
jsoo_minify exits with:
0β on success. we ate π123β on indiscriminate errors reported on standard error.124β on command line parsing errors.125β on unexpected internal errors (bugs).
π BUGS π
bugs are tracked on github at https://github.com/ocsigen/js_of_ocaml/issues. go report 'em, they wanna know fr fr π§
π SEE ALSO π
π AUTHORS π
Jerome Vouillon, Hugo Heuzard. legends, honestly π«Ά
πΈ LICENSE πΈ
Copyright (C) 2010-2019.
jsoo_minify is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, with linking exception; either version 2.1 of the License, or (at your option) any later version.
that's the whole page bestie, every flag accounted for, nothing skipped, iykyk π
and that's a wrap on Jsoo_minify 6.2.0, from the JSOO_MINIFY(1) era β¨ slay, go minify something π¦π
π¦ where this page comes from
- ubuntu resolute: js-of-ocaml 6.2.0-2build6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms