Plato on Github
Report Home
node_modules/xml2js/lib/processors.js
Maintainability
83.44
Lines of code
18
Difficulty
7.11
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
// Generated by CoffeeScript 1.7.1 (function() { var prefixMatch; prefixMatch = new RegExp(/(?!xmlns)^.*:/); exports.normalize = function(str) { return str.toLowerCase(); }; exports.firstCharLowerCase = function(str) { return str.charAt(0).toLowerCase() + str.slice(1); }; exports.stripPrefix = function(str) { return str.replace(prefixMatch, ''); }; }).call(this);