Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

js minifier api

curl -X POST -s --data-urlencode 'input=console.log( 1 );' https://www.toptal.com/developers/javascript-minifier/raw
curl -X POST -s --data-urlencode 'input@main.js' https://www.toptal.com/developers/javascript-minifier/raw > main.min.js

// Many files
for file in $(ls); do curl -X POST -s --data-urlencode "input@$file" https://www.toptal.com/developers/javascript-minifier/raw > "$file.min.js"; done
Comment

PREVIOUS NEXT
Code Example
Javascript :: js encode to & 
Javascript :: how to return ascending array using for loop in js 
Javascript :: js console.log color 
Javascript :: javascript hover event 
Javascript :: encodeurl in javascript 
Javascript :: how to remove element from array in javascript 
Javascript :: jquery id click 
Javascript :: js find in array and remove 
Javascript :: jquery if radio button is checked 
Javascript :: console.log javascript 
Javascript :: how to check what browser you are using javascript 
Javascript :: document get element by id radio button 
Javascript :: random id number nodejs 
Javascript :: how to create public folder in node js 
Javascript :: js one line if 
Javascript :: typescript class constructor default values 
Javascript :: for in object javascript 
Javascript :: javascript delete first character from string 
Javascript :: clear arrays in jquery 
Javascript :: mongoose generate objectid 
Javascript :: javascript clear interval 
Javascript :: router navigatebyurl 
Javascript :: async await catch error 
Javascript :: get child of child javascript 
Javascript :: javascript alert get text 
Javascript :: vue.js cdn script 
Javascript :: ajax get form data 
Javascript :: discord.js get username 
Javascript :: convertir seconde 
Javascript :: shadown reAct native 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =