dimension-parser
parse dimensions out of strings
install
npm install dimension-parser
or
bower install dimension-parser
examples
var dimensionParser = ; ; // returns {width: "67.50", height: "55.75"} // or ; // returns {width: "67.50", height: "55.75", length: "55.75"} // or you can test if a string contains dimensions dimensionParser; // returns false // you can also provide a format (the default is WxHxL); // returns {height: "67.50", width: "55.75", length: "55.75"} // and you can also tell the parser to be more strict;