gulp-img-base64
A simple gulp plugin, used to transform image into base64 string.
Install
npm install gulp-img-base64
Usage
var tobase64 = ;;
Example
var tobase64 = ;gulp;
API
maxsize
The max size of images for compiling, the default value is 1 and the unit is 'KB'
ignore
Ignore files, it can be string, array or regular.
'image' , ['image','abc'] or /\/abc\//g
pathrep
Transform file path into readable path like this :
/public/bizapp1007/image.png ==> ./public/image.png
Running test
make test
License
MIT