How to use the scss-parser.stringify function in scss-parser

To help you get started, we’ve selected a few scss-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jgranstrom / sass-extract / src / parse.js View on Github external
function parseExpression($ast, declaration) {
  let flagsReached = false;
  
  return stringify($ast(declaration)
  .children('value')
  .get(0))
  .trim();
}

scss-parser

A library to parse/stringify SCSS

BSD-3-Clause
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis

Popular scss-parser functions