node-swiz is a node.js serialization and validation framework intended to be used with RESTful APIs which commonly use XML and JSON as transports.
npm install swiz
node-swiz – Node.js Library For Serializing, Deserializing And Validating Objects In REST APIs
npm run-script test
node-swiz is distributed under the Apache license.