npm node-scss code example
Example 1: scss npm import
npm uninstall node-sass
npm install node-sass@4.14.1
Example 2: scss npm
var sass = require('node-sass');
sass.render({
file: scss_filename,
[, options..]
}, function(err, result) { /*...*/ });
// OR
var result = sass.renderSync({
data: scss_content
[, options..]
});