npm add sass code example
Example 1: install sass
npm install -g sass
Example 2: npm scss
npm i node-sass
Example 3: 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..]
});