CommonJS Module to measure elements.