Socket
Socket
Sign inDemoInstall

sparkxml

Package Overview
Dependencies
73
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sparkxml

Parse XML according to the "Spark" convention (http://wiki.open311.org/JSON_and_XML_Conversion#The_Spark_Convention).


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node-SparkXML

Node-SparkXML is a a simple Node.js-based XML parser. It parses according to the "Spark" convention, which is a slight modification of the "Parker" convention.

The Spark convention is a slight modification of the Parker convention. It treats nested child elements as demarcating the beginning of an array if there is only one kind of child (a repeating element)… Parker almost does this, but if there is only one child in the container, it doesn't think it should be an array. The Spark convention ensures that child is always an array even if there's only one of them.

More info can be found at: http://wiki.open311.org/JSON_and_XML_Conversion#The_Spark_Convention http://wiki.open311.org/Parker_vs_Spark

This library was mainly developed for tools around Open311, which uses the Spark convention, but it could be useful in plenty of other cases.

Copyright (c) 2012-2016 Code for America. See LICENSE for details.

Thanks to Oiva Eskola https://github.com/oiva and Milo van der Linden https://github.com/milovanderlinden for additional contributions.

Keywords

FAQs

Last updated on 25 May 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc