obj-sass
convert Object to scss/sass variable String.
based on gulp-json-sass
Install
$ npm install obj-sass
Usage
var objSass = ;var options = {};var sass = ;
options
almost same options with gulp-json-sass
.
but obj
is added and ignoreJsonErrors
is deleted.
see gulp-json-sass
obj
Type: Object
Default: {}
the object
will be converted to scss/sass variable string.
; // output// $key: value;// $obj-key: 0;// $array-0: 1;// $array-1: 2;// $array-2: 3;//