PHP 8.2.30
Preview: index.js Size: 607 B
/home/byroehnu/.trash/node_modules11/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-02-28 00:27:46
Edit Download
607 B lrw-r--r-- 2026-02-28 00:26:42
Edit Download
8.15 KB lrw-r--r-- 2026-02-28 00:26:52
Edit Download
1.16 KB lrw-r--r-- 2026-02-28 00:27:04
Edit Download
2.23 KB lrw-r--r-- 2026-02-28 00:27:18
Edit Download
425 B lrw-r--r-- 2026-02-28 00:27:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).