PHP 7.4.33
Preview: index.js Size: 607 B
/var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/postcss-value-parser/lib/index.js
var parse = require("./parse");
var walk = require("./walk");
var stringify = require("./stringify");

function ValueParser(value) {
  if (this instanceof ValueParser) {
    this.nodes = parse(value);
    return this;
  }
  return new ValueParser(value);
}

ValueParser.prototype.toString = function() {
  return Array.isArray(this.nodes) ? stringify(this.nodes) : "";
};

ValueParser.prototype.walk = function(cb, bubble) {
  walk(this.nodes, cb, bubble);
  return this;
};

ValueParser.unit = require("./unit");

ValueParser.walk = walk;

ValueParser.stringify = stringify;

module.exports = ValueParser;

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
4.19 KB lrw-r--r-- 2026-04-28 09:11:40
Edit Download
607 B lrw-r--r-- 2026-04-28 09:11:39
Edit Download
8.15 KB lrw-r--r-- 2026-04-28 09:11:39
Edit Download
1.16 KB lrw-r--r-- 2026-04-28 09:11:39
Edit Download
2.23 KB lrw-r--r-- 2026-04-28 09:11:39
Edit Download
425 B lrw-r--r-- 2026-04-28 09:11:39
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).