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