diff --git a/docs/lixmljs-extra.md b/docs/lixmljs-extra.md new file mode 100644 index 0000000..25171f8 --- /dev/null +++ b/docs/lixmljs-extra.md @@ -0,0 +1,44 @@ +# libxmljs-extra +The object that comes from `require('libxmljs-extra')`. + + +## Properties + +### Document: `Document` +>A copy of the Document class from `libxmljs` with extra methods and existing ones modified. + +### libxml_version: `string` +>Gets the compiled version of libxml. + +### libxml_parser_version: `string` +>Gets the loaded version of libxml. + +### libxml_debug_enabled: `boolean` +>Tells whether debug mode is enabled. + +### Comment: `libxmljs.Comment` +>The `libxmljs.Comment` class. + +### Element: `libxmljs.Element` +>The `libxmljs.Element` class. + +### ProcessingInstruction: `libxmljs.ProcessingInstruction` +>The `libxmljs.ProcessingInstruction` class. + +### Text: `libxmljs.Text` +>The `libxmljs.Text` class. + +### SaxParser: `libxmljs.SaxParser` +>The `libxmljs.SaxParser` class. + +### SaxPushParser: `libxmljs.SaxPushParser` +>The `libxmljs.SaxPushParser` class. + + +## Functions + +### memoryUsage(): `number` +>Gets the amount of memory allocated by libxml. + +### nodeCount(): `number` +>Gets the number of nodes that haven't been freed.