Skip to content

NodeJs CLI tool - outputs a webpage on stdout, with style and scripts inlined (possibly minified)

Notifications You must be signed in to change notification settings

0gust1/cli-html-smoosher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

It's a little nodeJS CLI tool to :

  • request a webpage
  • inline (+minify) or strip CSS and JS
  • output the result webpage on the standard output

Usage

  • checkout the repository
  • In the directory type npm install.
  • and type npm link.

Now you can do smoosh http://some.random.url --minify > result.html.

Type smoosh -h for help.

##TODO

  • ability to process files
  • testing

About

NodeJs CLI tool - outputs a webpage on stdout, with style and scripts inlined (possibly minified)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published