1.0.2 • Published 10 months ago

craydent-xml-to-json v1.0.2

Weekly downloads
164
License
MIT
Repository
github
Last release
10 months ago

Craydent 1.0.2

by Clark Inada

Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods

// require with prototypes - this require will add prototypes to extend classes and add two constants ($c, $g) to the global space.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-xml-to-json');
$c.logit($c.VERSION);
arr.prototypedMethod(args);
// require no conflict - this require is the fully modular version with no global constants, prototypes, or methods.
var $c = require('craydent-xml-to-json/noConflict');
$c.logit($c.VERSION);
$c.prototypedMethod(arr, args);
// require global - this require constants and methods in the global space and add prototypes to extend classes.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-xml-to-json/global');
logit($c.VERSION);
arr.prototypedMethod(args);

Categories

Constants

CONSOLE_COLORS (Object)LOCAL_IP (String)TEMPLATE_TAG_CONFIG (Object)
DEBUG_MODE (Boolean)MODULES_LOADED (Object)TEMPLATE_VARS (Array)
ERROR_TYPES (Array)PUBLIC_IP (String)VERSION (String)
HTTP_STATUS_TEMPLATE (Object)RESPONSES (Object)

Methods

XML to JSON


xmlToJson


Info: Converts XML to JSON

Return: (Object)

Parameters:

  • xml: (String|XMLDocument) XML string or XML DOM
  • ignoreAttributes?: (Bool) Flag to ignore attributes

Overloads:

None

Download

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.14.0

3 years ago

0.15.0

3 years ago

0.15.1

3 years ago

0.15.2

3 years ago

0.13.5

4 years ago

0.13.4

4 years ago

0.13.2

4 years ago

0.13.3

4 years ago

0.13.1

4 years ago

0.13.0

4 years ago

0.12.3

4 years ago

0.12.2

4 years ago

0.12.1

4 years ago

0.12.0

4 years ago

0.11.2

4 years ago

0.11.1

4 years ago

0.11.0

4 years ago

0.10.11

4 years ago

0.10.10

4 years ago

0.10.9

4 years ago

0.10.8

4 years ago

0.10.7

4 years ago

0.10.4

5 years ago

0.10.3

5 years ago

0.10.2

5 years ago

0.10.1

5 years ago

0.10.0

5 years ago

0.9.0

7 years ago

0.8.9

7 years ago

0.8.8

7 years ago

0.8.7

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.4

7 years ago