@adamlui/minify.js 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cli.min.js +21 -22
- package/dist/minify.min.js +5 -5
- package/docs/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<a href="https://www.npmjs.com/package/@adamlui/minify.js"><img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fminify.js?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
25
25
|
<a href="#%EF%B8%8F-mit-license"><img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
26
|
-
<a href="https://github.com/adamlui/minify.js/releases/tag/node-v1.6.
|
|
26
|
+
<a href="https://github.com/adamlui/minify.js/releases/tag/node-v1.6.2"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.6.2-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
27
27
|
<a href="https://www.npmjs.com/package/@adamlui/minify.js?activeTab=code"><img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fminify.js?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
|
|
28
28
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_minify.js:node.js/src/minify.js"><img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_minify.js%3Anode.js%2Fsrc%2Fminify.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
|
|
29
29
|
<a href="https://github.com/toolleeo/cli-apps#programming"><img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-c4a2bd?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
@@ -271,14 +271,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
271
271
|
|
|
272
272
|
## 🛠️ Related utilities
|
|
273
273
|
|
|
274
|
-
### [</> minify.js (Gulp)](https://gulp.minify-js.org)
|
|
274
|
+
### [</> minify.js (Gulp)](https://gulp.minify-js.org) <a href="https://github.com/toolleeo/cli-apps#programming"><img height=18 src="https://media.minify-js.org/images/badges/awesome/badge.svg?b78dcd3"></a>
|
|
275
275
|
|
|
276
276
|
> Gulp plug-in to recursively minify all JavaScript files.
|
|
277
277
|
<br>[Install](https://gulp.minify-js.org/#-installation) /
|
|
278
278
|
[Readme](https://gulp.minify-js.org/#readme) /
|
|
279
279
|
[Discuss](https://github.minify-js.org/discussions)
|
|
280
280
|
|
|
281
|
-
### [{ } scss-to-css](https://github.com/adamlui/scss-to-css)
|
|
281
|
+
### [{ } scss-to-css](https://github.com/adamlui/scss-to-css) <a href="https://github.com/toolleeo/cli-apps#conversion"><img height=18 src="https://media.minify-js.org/images/badges/awesome/badge.svg?b78dcd3"></a>
|
|
282
282
|
|
|
283
283
|
> Recursively compile all SCSS files into minified CSS.
|
|
284
284
|
<br>[Install](https://node.scsstocss.org/#-installation) /
|
package/dist/cli.min.js
CHANGED
|
@@ -4,25 +4,24 @@
|
|
|
4
4
|
* Source: https://code.minify-js.org/node.js
|
|
5
5
|
* Documentation: https://docs.minify-js.org/node.js
|
|
6
6
|
*/
|
|
7
|
-
const pkgName="@adamlui/minify.js",copyright="© 2024 Adam Lui & contributors under the MIT license.",cmdFormat="minify-js [inputPath] [outputPath] [options]",srcURL="https://code.minify-js.org/node.js",docURL="https://docs.minify-js.org/node.js/#-command-line-usage"
|
|
8
|
-
${
|
|
9
|
-
${
|
|
10
|
-
${
|
|
11
|
-
Global version: `+
|
|
12
|
-
${
|
|
13
|
-
${
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
${
|
|
18
|
-
|
|
19
|
-
${
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
${
|
|
23
|
-
${
|
|
24
|
-
${
|
|
25
|
-
${
|
|
26
|
-
${
|
|
27
|
-
|
|
28
|
-
`+(bw+docURL+nc))}function printIfNotQuiet(e){config.quietMode||console.info(e)}
|
|
7
|
+
const pkgName="@adamlui/minify.js",copyright="© 2024 Adam Lui & contributors under the MIT license.",cmdFormat="minify-js [inputPath] [outputPath] [options]",srcURL="https://code.minify-js.org/node.js",docURL="https://docs.minify-js.org/node.js/#-command-line-usage";(async()=>{const i=require(__dirname.match(/src/)?"./minify":"./minify.min"),n=require("fs"),s=require("path"),r=require("child_process")["execSync"],t="[0m",a="[1;91m",l="[1;33m",c="[1;92m",m="[1;97m";let f="en";if("win32"==process.platform)try{f=r("(Get-Culture).TwoLetterISOLanguageName",{shell:"powershell",encoding:"utf-8"}).trim()}catch(e){}else{var d=process.env;f=(d.LANG||d.LANGUAGE||d.LC_ALL||d.LC_MESSAGES||d.LC_NAME||"en").split(".")[0]}let p={};d=new Promise((r,t)=>{const a="https://cdn.jsdelivr.net/gh/adamlui/js-utils@2ca71a5c8c3dab0508a11c1b666237461796b508/geolocate/_locales/",e=(f?f.replace("-","_"):"en")+"/";let l=a+e+"messages.json",c=0;$(l).then(async function o(e){try{const i=await e.json(),n={};for(const s in i)"object"==typeof i[s]&&"message"in i[s]&&(n[s]=i[s].message);r(n)}catch(e){if(3==++c)return r({});$(l=f.includes("-")&&1==c?l.replace(/([^_]*)_[^/]*(\/.*)/,"$1$2"):a+"en/messages.json").then(o).catch(t)}}).catch(t)});try{p=await d}catch(e){}const u={},h={flags:{dryRun:/^--?(?:n|dry-?run)$/,includeDotFolders:/^--?(?:dd?|(?:include-?)?dot-?(?:folder|dir(?:ector(?:y|ie))?)s?=?(?:true|1)?)$/,includeDotFiles:/^--?(?:df|D|(?:include-?)?dot-?files?=?(?:true|1)?)$/,noRecursion:/^--?(?:R|(?:disable|no)-?recursi(?:on|ve)|recursi(?:on|ve)=(?:false|0))$/,noMangle:/^--?(?:M|(?:disable|no)-?mangle|mangle=(?:false|0))$/,quietMode:/^--?q(?:uiet)?(?:-?mode)?$/},paramOptions:{ignoreFiles:/^--?(?:ignore|skip|exclude)(?:d?-?files?)?(?:=.*|$)/,comment:/^--?comments?(?:=.*|$)/},infoCmds:{help:/^--?h(?:elp)?$/,version:/^--?ve?r?s?i?o?n?$/}};if(process.argv.forEach(o=>{var e,i,n;o.startsWith("-")&&(n=Object.keys(h.flags).find(e=>h.flags[e].test(o)),e=Object.keys(h.paramOptions).find(e=>h.paramOptions[e].test(o)),i=Object.keys(h.infoCmds).find(e=>h.infoCmds[e].test(o)),n?u[n]=!0:e?(/=.+/.test(o)||(console.error(`
|
|
8
|
+
${a+(p.prefix_error||"ERROR")}: `+`Arg [--${o.replace(/-/g,"")}] `+`${p.error_noEqual||"requires '=' followed by a value"}.${t}`),v(),process.exit(1)),n=o.split("=")[1],u[e]=parseInt(n)||n):i||(console.error(`
|
|
9
|
+
${a+(p.prefix_error||"ERROR")}: `+`Arg [${o}] ${p.error_notRecognized||"not recognized"}.[0m`),console.info(`
|
|
10
|
+
${l+(p.info_validArgs||"Valid arguments are below")}.[0m`),_(["flags","paramOptions","infoCmds"]),process.exit(1)))}),process.argv.some(e=>h.infoCmds.help.test(e)))_();else if(process.argv.some(e=>h.infoCmds.version.test(e))){d=r(`npm view ${pkgName} version`).toString().trim()||"none";let e,o=process.cwd();for(;"/"!=o;){var g=s.join(o,"package.json");if(n.existsSync(g)){g=require(g);e=(g.dependencies?.[pkgName]||g.devDependencies?.[pkgName])?.match(/(\d+\.\d+\.\d+)/)[0]||"none";break}o=s.dirname(o)}console.info(`
|
|
11
|
+
${p.prefix_globalVer||"Global version"}: `+d),console.info(`${p.prefix_localVer||"Local version"}: `+e)}else{const[y="",j=""]=process.argv.slice(2).filter(e=>!e.startsWith("-")).map(e=>e.replace(/^\/*/,""));d=s.resolve(process.cwd(),y),d=(y&&!n.existsSync(d)&&(console.error(`
|
|
12
|
+
${a+(p.prefix_error||"ERROR")}: `+`${p.error_firstArgNotExist||"First argument can only be an existing file or directory"}.`+`
|
|
13
|
+
${d} ${p.error_doesNotExist||"does not exist"}.[0m`),console.info(`
|
|
14
|
+
${c}${p.info_exampleValidCmd||"Example valid command"}: `+`
|
|
15
|
+
» minify-js . output.min.js[0m`),v(),process.exit(1)),y.endsWith(".js")?[d]:i.findJS(d,{recursive:!u.noRecursion,verbose:!u.quietMode,ignoreFiles:(u.ignoreFiles?.split(",")??[]).map(e=>e.trim())}));if(u.dryRun)0<d.length?(console.info(`
|
|
16
|
+
${l+(p.info_filesToBeMinned||"JS files to be minified")}:[0m`),d.forEach(e=>console.info(e))):console.info(`
|
|
17
|
+
${l+(p.info_noFilesWillBeMinned||"No JS files will be minified")}.[0m`);else{const S=[];d=d.map(e=>{var o=i.minify(e,{verbose:!u.quietMode,mangle:!u.noMangle,comment:u.comment?.replace(/\\n/g,"\n")});return o.error&&S.push(e),o}).filter(e=>!e.error);d?.forEach(({code:e,srcPath:o})=>{var i=s.join(s.dirname(o),(/so?u?rce?$/.test(s.dirname(o))?"../":"")+(j.endsWith(".js")?s.dirname(j):j||"min")),o=(j.endsWith(".js")&&y.endsWith(".js")?s.basename(j).replace(/(\.min)?\.js$/,""):s.basename(o,".js"))+".min.js",o=s.join(i,o);n.existsSync(i)||n.mkdirSync(i,{recursive:!0}),n.writeFileSync(o,e,"utf8")}),0<d?.length?(o(`
|
|
18
|
+
${c+(p.info_minComplete||"Minification complete")}![0m`),o(m+d.length+" "+(p.info_file||"file")+`${1<d.length?"s":""} ${p.info_minified||"minified"}.${t}`)):o(l+(p.info_noFilesProcessed||"No unminified JavaScript files processed")+".[0m"),0<S.length&&(o(`
|
|
19
|
+
${a+S.length} `+(p.info_file||"file")+`${1<S.length?"s":""} ${p.info_failedToMinify||"failed to minify"}:${t}`),S.forEach(e=>o(e)))}}function $(n){return new Promise((i,e)=>{var o=n.match(/^([^:]+):\/\//)[1];/^https?$/.test(o)||e(new Error(`${p.error_invalidURL||"Invalid URL"}.`)),require(o).get(n,e=>{let o="";e.on("data",e=>o+=e),e.on("end",()=>i({json:()=>JSON.parse(o)}))}).on("error",e)})}function _(e=["header","usage","pathArgs","flags","paramOptions","infoCmds"]){var o=`[106m[30m ${pkgName.replace(/^@[^/]+\//,"")} [0m `;const i={header:["\n├ "+o+(p.appCopyright||copyright),o+(p.prefix_source||"Source")+": "+srcURL],usage:[`
|
|
20
|
+
${m}o ${p.helpSection_usage||"Usage"}:[0m`,` ${m}» `+c+cmdFormat+t],pathArgs:[`
|
|
21
|
+
${m}o ${p.helpSection_pathArgs||"Path arguments"}:[0m`," [inputPath] "+`${p.inputPathDesc_main||"Path to JS file or directory containing JS files to be minified"}, `+`${p.inputPathDesc_extra||"relative to the current working directory"}.`," [outputPath] "+`${p.outputPathDesc_main||"Path to file or directory where minified files will be stored"}, `+`${p.outputPathDesc_extra||"relative to original file location (if not provided, min/ is used)"}.`],flags:[`
|
|
22
|
+
${m}o ${p.helpSection_flags||"Boolean options"}:[0m`," -n, --dry-run "+`${p.optionDesc_dryRun||"Don't actually minify the file(s), just show if they will be processed"}.`,` -d, --include-dotfolders ${p.optionDesc_dotfolders||"Include dotfolders in file search"}.`,` -D, --include-dotfiles ${p.optionDesc_dotfiles||"Include dotfiles in file search"}.`,` -R, --no-recursion ${p.optionDesc_noRecursion||"Disable recursive file searching"}.`,` -M, --no-mangle ${p.optionDesc_noMangle||"Disable mangling names"}.`,` -q, --quiet ${p.optionDesc_quiet||"Suppress all logging except errors"}.`],paramOptions:[`
|
|
23
|
+
${m}o ${p.helpSection_paramOptions||"Parameter options"}:[0m`,`--ignore-files="file1.js,file2.js" ${p.optionDesc_ignoreFiles||"Files to exclude from minification"}.`,`--comment="comment" ${p.optionDesc_commentMain||"Prepend comment to minified code"}.`+` ${p.optionDesc_commentExtra||"Separate by line using '\\n'"}.`],infoCmds:[`
|
|
24
|
+
${m}o ${p.helpSection_infoCmds||"Info commands"}:[0m`," -h, --help "+(p.optionDesc_help||"Display help screen."),` -v, --version ${p.optionDesc_version||"Show version number"}.`]};e.forEach(t=>{i[t]?.forEach(e=>{{var n=/header|usage/.test(t)?1:37;const s=process.stdout.columns||80,r=[],o=e.match(/\S+|\s+/g);let i="";o.forEach(e=>{var o=s-(0==r.length?0:n);i.length+"| ".length+e.length>o&&(r.push(0==r.length?i:i.trimStart()),i=""),i+=e}),r.push(0==r.length?i:i.trimStart()),r.forEach((e,o)=>console.info("| "+(0==o?e:" ".repeat(n)+e)))}})}),console.info(`
|
|
25
|
+
${p.info_moreHelp||"For more help"}, ${p.info_visit||"visit"}: `+m+docURL+t)}function v(){console.info(`
|
|
26
|
+
${p.info_moreHelp||"For more help"},`+` ${p.info_type||"type"} 'minify-js --help'`+` ${p.info_or||"or"} ${p.info_visit||"visit"}
|
|
27
|
+
`+m+docURL+t)}function o(e){u.quietMode||console.info(e)}})();
|
package/dist/minify.min.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Source: https://code.minify-js.org/node.js
|
|
5
5
|
* Documentation: https://docs.minify-js.org/node.js
|
|
6
6
|
*/
|
|
7
|
-
const fs=require("fs"),path=require("path"),uglifyJS=require("uglify-js");function findJS(
|
|
8
|
-
${
|
|
7
|
+
const fs=require("fs"),path=require("path"),uglifyJS=require("uglify-js");function findJS(o,r={}){var e="https://docs.minify-js.org/node.js/#findjssearchdir-options",i={recursive:!0,verbose:!0,dotFolders:!1,dotFiles:!1,ignoreFiles:[]};if("string"!=typeof o)console.error("findJS() » ERROR: 1st arg <searchDir> must be a string."),console.info("findJS() » For more help, please visit "+e);else{var n=path.resolve(process.cwd(),o);if(fs.existsSync(n)){if(validateOptions(r,i,e,"findJS('assets/js', { verbose: false, dotFoldes: true })")){r={...i,...r};const s=fs.readdirSync(o),t=[];return r.verbose&&!r.isRecursing&&console.info("findJS() » Searching for unminified JS files..."),s.forEach(e=>{var i=path.resolve(o,e);fs.statSync(i).isDirectory()&&"node_modules"!=e&&r.recursive&&(r.dotFolders||!e.startsWith("."))?t.push(...findJS(i,{...r,isRecursing:!0})):!/\.js(?<!\.min\.js)$/.test(e)||!r.dotFiles&&e.startsWith(".")||r.ignoreFiles.includes(e)?r.verbose&&r.ignoreFiles.includes(e)&&console.info(`findJS() » ** ${e} ignored due to [options.ignoreFiles]`):t.push(i)}),!r.isRecursing&&r.verbose&&(console.info("findJS() » Search complete! "+(0==t.length?"No":t.length)+` file${1==t.length?"":"s"} found.`),"minify"==findJS.caller.name||process.argv.some(e=>e.includes("gulp"))||/cli(?:\.min)?\.js$/.test(require.main.filename)||console.info("findJS() » Check returned array.")),r.isRecursing||0<t.length?t:[]}}else console.error("findJS() » ERROR: 1st arg <searchDir> must be an existing directory."),console.error(`findJS() » ${n} does not exist.`),console.info("findJS() » For more help, please visit "+e)}}function minify(e,o={}){var i="https://docs.minify-js.org/node.js/#minifyinput-options",r={recursive:!0,verbose:!0,dotFolders:!1,dotFiles:!1,mangle:!0,ignoreFiles:[],comment:""};if("string"!=typeof e)console.error("minify() » ERROR: 1st arg <input> must be a string."),console.info("minify() » For more help, please visit "+i);else if(validateOptions(o,r,i,"minify('assets/js', { recursive: false, mangle: false })")){const s={mangle:!!(o={...r,...o}).mangle&&{toplevel:!1}};return fs.existsSync(e)?e.endsWith(".js")?(o.verbose&&console.info(`minify() » ** Minifying ${e}...`),i=uglifyJS.minify(fs.readFileSync(e,"utf8"),s),o.comment&&(i.code=n(i.code,o.comment)),i.error?console.error("minify() » ERROR: "+i.error.message):!o.verbose||process.argv.some(e=>e.includes("gulp"))||/cli(?:\.min)?\.js$/.test(require.main.filename)||console.info("minify() » Minification complete! Check returned object."),{code:i.code,srcPath:path.resolve(process.cwd(),e),error:i.error}):(r=findJS(e,{recursive:o.recursive,verbose:o.verbose,dotFolders:o.dotFolders,dotFiles:o.dotFiles,ignoreFiles:o.ignoreFiles})?.map(e=>{o.verbose&&console.info(`minify() » ** Minifying ${e}...`);var i=fs.readFileSync(e,"utf8"),i=uglifyJS.minify(i,s);return o.comment&&(i.code=n(i.code,o.comment)),i.error&&console.error("minify() » ERROR: "+i.error.message),{code:i.code,srcPath:e,error:i.error}}).filter(e=>!e.error),o.verbose&&(0<r.length?console.info("minify() » Minification complete! Check returned object."):console.info("minify() » No unminified JavaScript files processed.")),r):(o.verbose&&!process.argv.some(e=>e.includes("gulp"))&&console.info("minify() » ** Minifying passed source code..."),i=uglifyJS.minify(e,s),o.comment&&(i.code=n(i.code,o.comment)),i.error?console.error("minify() » ERROR: "+i.error.message):o.verbose&&!process.argv.some(e=>e.includes("gulp"))&&console.info("minify() » Minification complete! Check returned object."),{code:i.code,srcPath:void 0,error:i.error});function n(e,i){var i=i.split("\n").map(e=>" * "+e).join("\n"),o=e.indexOf("#!");return 0<=o?(o=e.indexOf("\n",o)+1,e.slice(0,o)+`/**
|
|
8
|
+
${i}
|
|
9
9
|
*/
|
|
10
|
-
`+e.slice(
|
|
11
|
-
${
|
|
10
|
+
`+e.slice(o)):`/**
|
|
11
|
+
${i}
|
|
12
12
|
*/
|
|
13
|
-
`+e}}}function validateOptions(e,o,
|
|
13
|
+
`+e}}}function validateOptions(e,i,o,r){const n=JSON.stringify(i,null,2).replace(/"([^"]+)":/g,"$1:").replace(/"/g,"'").replace(/\n\s*/g," "),s=Object.keys(i).join(", "),t=Object.keys(i).filter(e=>"boolean"==typeof i[e]),l=Object.keys(i).filter(e=>Number.isInteger(i[e])),c=Object.keys(i).filter(e=>Array.isArray(i[e]));let f="validateOptions() » ";try{f=validateOptions.caller?.name+"() » "}catch(e){}var a=r.split(",").findIndex(e=>e.trim().startsWith("{"))+1,d=(a+=["st","nd","rd"][a-1]||"th",()=>{console.info(`${f}Valid options: [ ${s} ]`),console.info(f+"If omitted, default settings are: "+n)}),m=()=>{console.info(f+"For more help, please visit "+o)};if("object"!=typeof e)return console.error(f+`ERROR: ${"0th"==a?"[O":a+" arg [o"}ptions] can only be an object of key/values.`),console.info(f+"Example valid call: "+r),d(),m(),!1;for(const u in e){if("isRecursing"!=u&&!Object.prototype.hasOwnProperty.call(i,u))return console.error(`${f}ERROR: \`${u}\` is an invalid option.`),d(),m(),!1;if(t.includes(u)&&"boolean"!=typeof e[u])return console.error(`${f}ERROR: [${u}] option can only be \`true\` or \`false\`.`),m(),!1;if(l.includes(u)){if(e[u]=parseInt(e[u],10),isNaN(e[u])||e[u]<1)return console.error(`${f}ERROR: [${u}] option can only be an integer > 0.`),m(),!1}else if(c.includes(u))if("string"!=typeof e[u]||e[u].includes(",")){if(!Array.isArray(e[u]))return console.error(`${f}ERROR: [${u}] option can only be an array.`),m(),!1}else e[u]=[e[u]]}return!0}const funcAliases={minify:["build","Build","compile","Compile","compress","Compress","Minify"],findJS:["find","Find","findjs","findJs","Findjs","FindJs","FindJS","search","Search"]};module.exports={minify:minify,findJS:findJS};for(const _ in funcAliases)funcAliases[_].forEach(e=>module.exports[e]=module.exports[_]);
|
package/docs/README.md
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<a href="https://www.npmjs.com/package/@adamlui/minify.js"><img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fminify.js?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
25
25
|
<a href="#%EF%B8%8F-mit-license"><img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
26
|
-
<a href="https://github.com/adamlui/minify.js/releases/tag/node-v1.6.
|
|
26
|
+
<a href="https://github.com/adamlui/minify.js/releases/tag/node-v1.6.2"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.6.2-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
27
27
|
<a href="https://www.npmjs.com/package/@adamlui/minify.js?activeTab=code"><img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fminify.js?style=for-the-badge&logo=ebox&logoColor=white&labelColor=464646&color=blue"></a>
|
|
28
28
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_minify.js:node.js/src/minify.js"><img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_minify.js%3Anode.js%2Fsrc%2Fminify.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
|
|
29
29
|
<a href="https://github.com/toolleeo/cli-apps#programming"><img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-c4a2bd?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
@@ -271,14 +271,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
271
271
|
|
|
272
272
|
## 🛠️ Related utilities
|
|
273
273
|
|
|
274
|
-
### [</> minify.js (Gulp)](https://gulp.minify-js.org)
|
|
274
|
+
### [</> minify.js (Gulp)](https://gulp.minify-js.org) <a href="https://github.com/toolleeo/cli-apps#programming"><img height=18 src="https://media.minify-js.org/images/badges/awesome/badge.svg?b78dcd3"></a>
|
|
275
275
|
|
|
276
276
|
> Gulp plug-in to recursively minify all JavaScript files.
|
|
277
277
|
<br>[Install](https://gulp.minify-js.org/#-installation) /
|
|
278
278
|
[Readme](https://gulp.minify-js.org/#readme) /
|
|
279
279
|
[Discuss](https://github.minify-js.org/discussions)
|
|
280
280
|
|
|
281
|
-
### [{ } scss-to-css](https://github.com/adamlui/scss-to-css)
|
|
281
|
+
### [{ } scss-to-css](https://github.com/adamlui/scss-to-css) <a href="https://github.com/toolleeo/cli-apps#conversion"><img height=18 src="https://media.minify-js.org/images/badges/awesome/badge.svg?b78dcd3"></a>
|
|
282
282
|
|
|
283
283
|
> Recursively compile all SCSS files into minified CSS.
|
|
284
284
|
<br>[Install](https://node.scsstocss.org/#-installation) /
|