Documentation ¶
Overview ¶
The minify/xml package minifies xml content.
var lib = require('minify/xml'); var out = lib.minify(data) console.log(out);
It is also possible to minify xml data directly from a reader.
var lib = require('minify/xml'); var dec = lib.decoder(context.req.body); var out = dec.string(); console.log(out);
It is also possible to minify xml data directly to a writer.
var lib = require('minify/xml'); var enc = lib.encoder(context.res.body); enc.write(data);
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.