Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm writing a Chrome extension for which I remotely load CSS and JavaScript files. I'm looking for a tool that will combine and minify my CSS files into 1 file and my JS files into 1 file. Bonus points if it can automatically detect changed files and minify on its own so that all I have to do is upload the files to my server for testing without having to explicitly process the files via the command line or some such.
Does anyone have any favorite tools that can do this?
You can use grunt for that.
You can minify, combine, and also watch on files for changes.
Check it out here: http://gruntjs.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
So I made a website and I have all the html, css, and js files in a folder. I can open the file in chrome, but I was wondering if there was a way to open and view html files without using a browser, maybe like an app that acts as a browser but is offline and only opens .html files.
One use case is opening files on a high performance computing cluster with no internet access and no browsers installed. Using secure copy to bring very large .html files onto a personal computer for hundreds of samples would be very time consuming and require manual input. A way to view text and images of an .html file without a browser would be very useful if it exists.
Thank you!
HTML is made for browsers. You can't run scripts made for browsers without a browser.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
im trying to figure out a way to download a file in chunks.
i have an api endpoint that serves a file but wont allow to download more than 10mb per http request.
as i understand the server supports range request header.
i looked at a 3rd party library called StreamSaver.js but couldnt figure out how to define chunk sizes, or if its even then right library to use.
Anyone have an idea about any third party library for react with which i'll be able to pull it off?
Thanks.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Anyone suggest me or give me proper guide of implementing in my local.
this is a guide
but i want some more clear guide. because this guide to i am not understanding.
https://www.npmjs.com/package/grapesjs
You can do two things:
1. Use your command prompt, You need to have node and npm latest stable versions installed. Navigate into your folder directory where your project is and run npm i grapesjs wait for a while and then a package.json file should be created check it to see if grapesjs is there then require it in wherever you want to use it.
Go to https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.12.17/grapes.min.js and https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.12.17/css/grapes.min.css download the source code. Link both the css and js files in your index file or where you want to use it. Then go to their documentation site https://github.com/artf/grapesjs/wiki try out an example to see if everything checks out fine
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a script that would read through an HTML file (actually a Smarty template file, but that shouldn't matter), parse the paths out of <script></script> and <link/> tags, and use them as input for UglifyJS/UglifyCSS (or other minification software). Bonus points if the script is able to download remote resources as well.
I want to minify my resources in the order they appear within my HTML files without having to manually build the list. Perhaps some gulp plugin could accomplish such a task?
I can write a script to do this myself, but I would rather use something that has been tested and has a substantial community behind it.
Apologies if you meant only in JS.
Heres a bit of sed:
sed -n "s/<\(script\|link\)\+.*\(href\|src\)=\"\([^\'\"]*\)\".*/\3/p" <filename>
Will return the value of the href or source in a script or link tag in a file.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am looking for a library in javascript that can generate docx documents from a docx template and can replace tags by their values and replace images with other images I found a library name DocxTemplater but it's for nodjs and work on server side I want to this in browser side and with javascript.
Is there any library in javascript that able to do this???
DocxTemplater can be built to use from the browser directly, as detailed here.
If you aren't comfortable getting those utilities up and running on your local machine you can always get a free account somewhere like Nitrous and use a Node box there.