0.1.4 • Published 8 years ago
injectme v0.1.4
injectme
Inject CSS and JS inside your html
GOAL
- Avoid render blocking files
- Optimize critical path / above the fold CSS
- Optimize loading
INSTALL
npm install injectme -g
TODO
- Develop a Gulp plugin for easy integration
- Write more tests
Target Project
- This package is meant to be used with Single Page Applications
Terminal
Inside the terminal type:
injectme public/css/app.css public/index.html
Multiple files
- multiple parameters are passed inside quotes and comma separeted 'param1', 'param2'
injectme 'public/js/app.js','public/css/app.css' public/index.html