MCPcopy Create free account
hub / github.com/svg/svgo / stringifyDoctype

Function stringifyDoctype

lib/stringifier.js:154–156  ·  view source on GitHub ↗
(node, config)

Source from the content-addressed store, hash-verified

152 * @returns {string}
153 */
154const stringifyDoctype = (node, config) => {
155 return config.doctypeStart + node.data.doctype + config.doctypeEnd;
156};
157
158/**
159 * @param {import('./types.js').XastInstruction} node

Callers 1

stringifyNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected