0.0.5 • Published 10 years ago
recursive-base64-css v0.0.5
recursive-base64-css
Recursive walk through directories and Inline all css images to base64.
Install this globally and you'll have access to the recursive-base64-css command anywhere on your system.
npm install -g recursive-base64-cssThen run the command recursive-base64-css <path> and the application will create a folder called output that will have the same css files as the <path> param, but with base64 content on all url('path') tags.
Development
Install the dependencies:
npm installto run test:
npm testhow to debug the unit tests with mocha:
Install node-inspector using npm: npm install -g node-inspector
Run in one terminal:
node-inspectorand on another terminal run:
mocha --debug-brkthen, visit http://127.0.0.1:8080/debug?port=5858 to start debugging.
How to execute the binary as a command line interface:
npm linkThis will make the module available globally, so now you can use the recursive-base64-css command anywhere!
