{"_id":"calipers","_rev":"182-b1c4871ea697219815dfabd2ee8b7a2c","name":"calipers","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.1":{"name":"calipers","version":"0.1.1","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@0.1.1","maintainers":[{"name":"mgartner","email":"marcus@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"0ace1c15b859fd0bc7984a35446732ce4e8b85d1","tarball":"https://registry.npmjs.org/calipers/-/calipers-0.1.1.tgz","integrity":"sha512-Qi7zr6iyAgdExckdLYqtpHqU2iaeq4L613RHNvLq5Rh0BIH/OQIwZ2J+m4DEtGK2kuUiBZUsWJb3WKHV4L0xpw==","signatures":[{"sig":"MEQCIAGnFYNnvIpICV7oI/8bLKmEDEj458fK5c8qUoGkYWcuAiA7vKaXdJ6iRrTE4lcwhJMg+WwYJ2KCX2uyH7RR0jwdqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"0ace1c15b859fd0bc7984a35446732ce4e8b85d1","gitHead":"e1bf9ced9bd31535ada3ac26fd2f06ca3b6e6373","scripts":{"test":"mocha test --recursive"},"_npmUser":{"name":"mgartner","email":"marcus@lob.com"},"repository":{"url":"https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.7.4","description":"A library for measuring the width and height of PDFs and images.","directories":{"test":"test"},"_nodeVersion":"0.10.32","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.8"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","chai-as-promised":"^4.3.0"}},"1.0.0":{"name":"calipers","version":"1.0.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.0.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"d4de2c887a8f981e1f66cf5feeabcf7fe82235d7","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.0.0.tgz","integrity":"sha512-xdgHccqVM+GRK/wJ7DLoe770JrWElvNeBjD4Q1HAuV3L00Exaz7qO+B5Wrrz8NU2U72flCqNn5ebhEwXaM7Guw==","signatures":[{"sig":"MEQCICAQFfBsfbo9HrAYGLXNPHCMOgit3l1yBvIlDGpenrN9AiA/+8FiPbRlo6k+3Sd8L+gJIhqjTV/E77q5UW9Ip9UPWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"d4de2c887a8f981e1f66cf5feeabcf7fe82235d7","gitHead":"a0ce1b3f463e5ca3218e775d63c016b576159c6f","scripts":{"test":"mocha test --recursive"},"_npmUser":{"name":"lob","email":"support@lob.com"},"repository":{"url":"https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.7.4","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.8"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","chai-as-promised":"^4.3.0"}},"1.0.1":{"name":"calipers","version":"1.0.1","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.0.1","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"a0944cd058e27612e57f439437de5b99af924d6e","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.0.1.tgz","integrity":"sha512-QFBEfv4T0icSGUkOT0GoTdadyG7uHW7RgfdzEfpgO92M76Aa3h8PSiUX65tjpUbW3n/KjtW1SJ83FbJA7XfJcQ==","signatures":[{"sig":"MEUCIQC3Rqi+xP58niIljaFQmCqnIahcPDRWoawc7gRZZ/3u2gIgdVdiPA4U5LBx3zcNjGDLQjCcHASYC1SpG+SRxKdSNlk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"a0944cd058e27612e57f439437de5b99af924d6e","gitHead":"661570245ea2dfd8b8e84d6a59d4f2ba497440ab","scripts":{"test":"mocha test --recursive","testCI":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec test/* && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"},"_npmUser":{"name":"lob","email":"support@lob.com"},"repository":{"url":"https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.7.4","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.10"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.0.2":{"name":"calipers","version":"1.0.2","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.0.2","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"a3d2dc66a72a4c829159565e4da25df33818e13f","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.0.2.tgz","integrity":"sha512-OidsGf9vOYK/tmNpmLT3ZyvgiTydbS+LHA5hiMH7AduzeItLnv1pui/6CQXNrsrNrG4x+2NBf8Og2KtWxYKrZg==","signatures":[{"sig":"MEYCIQCaUxMLRuK+tzxAd+JpkhuQiRYFzwfp0WZE0uTdzdunsQIhAIbTcpikFEogYZ9kyx2O5rrsND0rOm0gdm3EqUDPaDKC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"a3d2dc66a72a4c829159565e4da25df33818e13f","gitHead":"a410d658d60344df9c9bccf7ca4551a67aeb41c5","scripts":{"test":"mocha test --recursive","testCI":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec test/* && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"},"_npmUser":{"name":"lob","email":"support@lob.com"},"repository":{"url":"https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.7.4","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.10"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.1.0":{"name":"calipers","version":"1.1.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.1.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"fdc3ab50f50dd5dcfc95766552789be05be2327e","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.1.0.tgz","integrity":"sha512-4HUdg4DCYE/xAbU2ayu/DPaBaEX50aKWnH8LkHxq1zfY8wyG8ZA3cxVN708wc/f1sI6jVZjXeYbvwWuwao63rQ==","signatures":[{"sig":"MEUCIQD8M1BlXr5gwFDZfq/ZiGVaG7bIZfK2Sq93i+9IiC1paAIga//4DBjWvrdo4ifo1nOM8h0L7/JCuMYaumL8thWo2qM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"fdc3ab50f50dd5dcfc95766552789be05be2327e","gitHead":"5e8af21bff9cc2a74d59b2fb40cd640fa664f92b","scripts":{"test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.12.0","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.10"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.2.0":{"name":"calipers","version":"1.2.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.2.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"41457f5aa9769ad9d678da6101f31a936b817323","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.2.0.tgz","integrity":"sha512-67ynr7lFPXqsXOwnVwV93aaxP2+/6mKwKiLLHtHdnE1WIjPelyoNiWsZ+5d1Zqd+rn2hFhd7oifmUGr9geuS9g==","signatures":[{"sig":"MEUCIQCZaesdfTTdDO1J45BvqWyAHwX47LJPlUdmY2PsoXyeUQIgCWRr4IWlvta5rl0c5iEyr3jJEBtWutVdMZjET/3Qbx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"41457f5aa9769ad9d678da6101f31a936b817323","gitHead":"3672f129482e7bd3ddcc1489bb839dee2ceda214","scripts":{"test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.12.0","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.1.10"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.3.0":{"name":"calipers","version":"1.3.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.3.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"cf23a00dcaa2ea41b9063a153b4d8eb18f8d1060","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.3.0.tgz","integrity":"sha512-IRO91hxLDB15BLi3n3cwBqBo0rT2O5x4ff60imxA/O63HJNbU2D3jQS9JJdiK24h9db0IfD9BOt2TKqjuQmdZA==","signatures":[{"sig":"MEYCIQCigzC9zjOmK/ZhmF0GV/NpAdLrcH4kpNP9hvFZhnxDAwIhALIywBb3xUHR3N/cOSDcW96ZcUA/IJKHjhEXEYaO13IQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"cf23a00dcaa2ea41b9063a153b4d8eb18f8d1060","gitHead":"1d12621b8127bcb24cdb1c17271e8cbe3b24c0c7","scripts":{"test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"2.14.4","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"4.1.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.2.2"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.4.0":{"name":"calipers","version":"1.4.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.4.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"99285482b48e7f1e3c008b5c3fdac53e6fe4229e","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.4.0.tgz","integrity":"sha512-pfUQAarpB6ke4vg5XB04+eN702KGZyJ94atvEjJkd/qspGZcROYWcx5xRinb9EodvKfr7h8HUBOUlJ7j2OkheQ==","signatures":[{"sig":"MEYCIQCJNsW/Vg25KX0oFID4eFlUvwt9GubY+EMG5AtUzp51jgIhAKKF4aZFlBx27CUHKjJ6To4fzunB6/LcfHsfcxsDi7OK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"99285482b48e7f1e3c008b5c3fdac53e6fe4229e","gitHead":"35dd8e2bdf5eb71516d160279c79c7c84e97d4d3","scripts":{"test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"3.3.10","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.2.2"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","mocha-lcov-reporter":"0.0.2"}},"1.5.0":{"name":"calipers","version":"1.5.0","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.5.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/lob/calipers","bugs":{"url":"https://github.com/lob/calipers/issues"},"dist":{"shasum":"f310ebef7fba8081f07e02e996693e8dbe61081c","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.5.0.tgz","integrity":"sha512-lsYjLpw22AMn1ryGk1h5TxCKggou8ql96XuHU5RCBcI+YfQKxpf67UaVLJiRLlPSuOja9xTBAt4ZRaSWY4GVEA==","signatures":[{"sig":"MEYCIQD9MVM7Litva9zislCj/tAyyyZUd/yaUD8eFAj2jGHXpgIhAMRCpCmckgSRgtNHqL8m0C/ZO/tIJzEBuIxcxvJv0pkV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"f310ebef7fba8081f07e02e996693e8dbe61081c","gitHead":"2d4e61dd90a3146ae5158dee2cade749a94ea44d","scripts":{"lint":"eslint .","test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/lob/calipers.git","type":"git"},"_npmVersion":"3.4.0","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.2.2"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","eslint":"^1.9.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","eslint-config-lob":"^1.0.1","mocha-lcov-reporter":"0.0.2"}},"1.5.1":{"name":"calipers","version":"1.5.1","keywords":["image","size","pdf","png","jpeg"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@1.5.1","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/calipersjs/calipers","bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"dist":{"shasum":"88ae2f6c79d14f56027bde0f50825c711fafd53c","tarball":"https://registry.npmjs.org/calipers/-/calipers-1.5.1.tgz","integrity":"sha512-6ilR9u2w71UV2wpNEM9IfM9wURRVtpGUkrmljx/LMIFJvv6wtAUT7enlQLefzFEl5wE61k4dBvLpZTsgJCNPUQ==","signatures":[{"sig":"MEUCIHFqPS4vRENnnwFdAUT2kz2w/7smg92eDsiInkAUQpoVAiEAuHF5rlG+FBPSYFORarRL3GPHfvpmoKk6E98xqqvX6Xg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"88ae2f6c79d14f56027bde0f50825c711fafd53c","gitHead":"cdddfdc5efa989735bfff2238c89159bfce975b3","scripts":{"lint":"eslint .","test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"_npmVersion":"3.3.9","description":"The fastest Node.js library for measuring PDF, PNG, and JPEG dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"^2.9.13","poppler-simple":"^0.2.2"},"devDependencies":{"chai":"^2.2.0","mocha":"^2.1.0","eslint":"^1.9.0","istanbul":"^0.3.13","coveralls":"^2.11.2","chai-as-promised":"^4.3.0","eslint-config-lob":"^1.0.1","mocha-lcov-reporter":"0.0.2"}},"2.0.0":{"name":"calipers","version":"2.0.0","keywords":["image","size","pdf","png","jpeg","gif","bmp","svg","webp"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@2.0.0","maintainers":[{"name":"mgartner","email":"marcus@lob.com"},{"name":"lob","email":"support@lob.com"}],"homepage":"https://github.com/calipersjs/calipers","bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"dist":{"shasum":"bdf221c6a62f603b8ddd9340cacd9c79c1a03fce","tarball":"https://registry.npmjs.org/calipers/-/calipers-2.0.0.tgz","integrity":"sha512-NYpOQxAMlsNGl1XxMyFmn/kKPfNHLyLJm0HXuCOUQPQcLB/0ky+8lgJZv7MdaIhuMKCs/AZ9DZ594zd5upR+wA==","signatures":[{"sig":"MEUCIFb/g1AfR96ycxGu5ZDSdyOMIx1VIwoISMUBTogQlqcWAiEA3u40Ma8RT3Tn28nfPHXykGyhD+ZRi0e9tujXGdRkJuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"bdf221c6a62f603b8ddd9340cacd9c79c1a03fce","gitHead":"235faae814bef04c879078a85ffa58650e512fe8","scripts":{"lint":"eslint .","test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"_npmVersion":"3.3.9","description":"The fastest Node.js library for measuring image and PDF dimensions.","directories":{},"_nodeVersion":"0.12.2","dependencies":{"bluebird":"3.x.x"},"devDependencies":{"chai":"2.x.x","mocha":"2.x.x","eslint":"1.x.x","istanbul":"0.x.x","coveralls":"2.x.x","calipers-png":"2.x.x","chai-as-promised":"4.x.x","eslint-config-lob":"1.x.x","mocha-lcov-reporter":"0.x.x"}},"2.0.1":{"name":"calipers","version":"2.0.1","keywords":["image","size","pdf","png","jpeg","gif","bmp","svg","webp"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@2.0.1","maintainers":[{"name":"lob","email":"engineering@lob.com"},{"name":"mgartner","email":"marcus@lob.com"}],"homepage":"https://github.com/calipersjs/calipers","bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"dist":{"shasum":"0d3f303ce75ec5f1eda7fecfc7dba6736e35c926","tarball":"https://registry.npmjs.org/calipers/-/calipers-2.0.1.tgz","fileCount":14,"integrity":"sha512-AP4Ui2Z8fZf69d8Dx4cfJgPjQHY3m+QXGFCaAGu8pfNQjyajkosS+Kkf1n6pQDMZcelN5h3MdcjweUqxcsS4pg==","signatures":[{"sig":"MEUCIQCpUb8L9yAhSAa4sq0FzRznywPi3suWV6ADPc/uWVTrfQIgYDH7m/ZMRU4coPqv4AJ4GCRMhictv9hB2gkIZ3o60e0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGuicCRA9TVsSAnZWagAARGEP/Axg2H2ojrKHOCIhxfM5\n5LYT//A6BGcvAGAKqlEzC4Jhqg1z15FOppkMhriDB/7Esh+h1LwV4jq25Jdd\nfInLSx59Egglo8xSOpsSVGlQSCbmp2wjrt62yu70OSNQeqB7xsFqaiFSyVgF\nuhMogVXBP4idyu1fwv2Z3OlcHRnh0f6EzkDrGEWBO9RkF2wRy/NI1L3IBxU7\nMPV3F5avPZgA353rmD665IdiRUOqxN2LU6qQylPInxfi5olLmlRgYR/zBG7k\n9cxcdC41n4PReHbBZEnyYVPJD8okCTlgil2bY574Q/1WCBtgGmFUOn40gvSB\nTQRKgNlyWveeyN8yhXms7fHe0TIyIe4Ymcm69gbHDtaQ/L5L87+f+56Si+tg\ngaCbb0cXM+ECIJlxPw5RNh/YjWf67+xrQncguvTh4uigey7CsLbbgfuVX97D\nIygvyYB06kdYRPD4nkc/YKOvrlzpsrU9J8zaOI3RgRxIfkFu0+oAsKaejIq0\nLD1OJow/c0Mf0p/LjAei21kR8lHw+fvDhcNnxP9DfxNIZam4dOjmDa/0zMNT\nTJ1dbENu+yg03I+eqBs3DueaPlDL2iRcmjurSeaa05cpL4YYg1Ud1cmzUBPj\ntZB0tYphp6wlkyvm3g1FydG/NVJEY4m/x7oekZDNMVyFa39F+aSWXwcnqazR\n/SGZ\r\n=3MQ5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"7f436960ecf60740a9da0e1381c0a8ef4e3c1a76","scripts":{"lint":"eslint .","test":"NODE_ENV=test istanbul cover _mocha -- test --recursive --timeout 15000","enforce":"istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"_npmVersion":"6.1.0","description":"The fastest Node.js library for measuring image and PDF dimensions.","directories":{},"_nodeVersion":"6.2.2","dependencies":{"bluebird":"3.x.x"},"_hasShrinkwrap":false,"devDependencies":{"chai":"2.x.x","mocha":"2.x.x","eslint":"1.x.x","istanbul":"0.x.x","coveralls":"2.x.x","calipers-png":"2.x.x","chai-as-promised":"4.x.x","eslint-config-lob":"1.0.1","mocha-lcov-reporter":"0.x.x"},"_npmOperationalInternal":{"tmp":"tmp/calipers_2.0.1_1528490139114_0.21547013165123574","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"calipers","version":"2.1.0","keywords":["image","size","pdf","png","jpeg","gif","bmp","svg","webp"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@2.1.0","maintainers":[{"name":"lob","email":"engineering@lob.com"},{"name":"mgartner","email":"marcus@lob.com"}],"homepage":"https://github.com/calipersjs/calipers","bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"dist":{"shasum":"ff7337aab66ede4bfdfc80458047a2f53eccf3a5","tarball":"https://registry.npmjs.org/calipers/-/calipers-2.1.0.tgz","fileCount":28,"integrity":"sha512-D54tptnPCX7SJ5JJIpY6896GNxka+oEO3pefTIUh4tMVeeFuVPiao8Ty3ud+jBLvlzXiBmjPAdjPkMWxFrCpaQ==","signatures":[{"sig":"MEYCIQCgYtidKKQcD1rN03Yj4CnMNUbpLXGcCcHt1J8Oy/uCigIhANFgmlsp4TfvFqrSLB5kFI7C3zKdnUBotWq+0QAxBCnZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":288864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBlXZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDQQ//USB19pZN/IXSKaDzYEu5rlKvKKhEJwe7XZLk7OOYS96M0siI\r\nYQyVN/bCxrKm4j4TroMEaxneFJuq5J1lLExV81RoJBwhSAHA8jkGWTVWTrWj\r\nFdDTenUu0rIEoynrKjs84uWZh13zJ4esrcRuLoILFiWI946IkppY8GU88ix8\r\nTqRYM8nnHyBDGfMkxW/sMRSU2yWHQWsNqKS+WcahFxZL5KiXWnbSfTeCosTK\r\nOP+bqwN6/b9xUBBuH6yQKdsbFIfyOms3/hqE/n8bgMfWpdVFKZZrdzFeiPNP\r\nKzpHNZAwT83tm/8gDz3vzSF/AreaM6HA5z8WaVqXwr+CAjHBh1Q4/5k1y69G\r\nZmQb13EXY0tMNQPDqp7mjk8HxS0oNMeLSi4UVyLdrKOCBkMTzCewXYzRvV9s\r\n0n4hw5VHqCvzEglcAgXxf8Tawg0ZsARFNVj1hcyalGRXgHdX1vMLIYxJStKX\r\n8qXjVjh8jY7tbOC/kLn7cgmh2XeTVnG+tpPzug2DQhhTzZrEUJ3xV61/JzFP\r\ntdM3qENEhWNpLyYYq+km6vOiGMO3D27jtz2pC92QhAbshTEIxjOjqobOC+h5\r\nX3Gzz+D/uFygp3wFzB5oKKpqD71gcI2uJqxlbFwF26GfqFqcao/KMi8BjyHG\r\neIt8h+egBu2SZvdbN4oMfXcV1ytQqOLFT+A=\r\n=1vzb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"002dec7ec89c66a742d47df34c3ae55467462c3c","scripts":{"b":"tsc bench/test","lint":"eslint .","test":"jest","bench":"node bench/index.js","build":"tsc","bench:ts":"ts-node bench/index.ts","lint:fix":"eslint --fix .","lint:file":"eslint"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"deprecated":"2.1.0 contains breaking changes, published instead as 3.0.0","repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"_npmVersion":"8.11.0","description":"The fastest Node.js library for measuring image and PDF dimensions.","directories":{},"_nodeVersion":"16.15.1","_hasShrinkwrap":false,"devDependencies":{"jest":"26.x.x","benny":"^3.7.1","eslint":"^7.13.0","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.0.5","@types/jest":"^26.0.15","calipers-png":"2.1.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^16.0.1","@typescript-eslint/parser":"^4.8.1","@typescript-eslint/eslint-plugin":"^4.8.1"},"_npmOperationalInternal":{"tmp":"tmp/calipers_2.1.0_1661359577591_0.6656363657019384","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"calipers","version":"3.0.0","keywords":["image","size","pdf","png","jpeg","gif","bmp","svg","webp"],"author":{"name":"Marcus Gartner"},"license":"MIT","_id":"calipers@3.0.0","maintainers":[{"name":"lob","email":"engineering@lob.com"},{"name":"mgartner","email":"marcus@lob.com"}],"homepage":"https://github.com/calipersjs/calipers","bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"dist":{"shasum":"8e614a85fb0fc5f957283462384810c1456a98bc","tarball":"https://registry.npmjs.org/calipers/-/calipers-3.0.0.tgz","fileCount":28,"integrity":"sha512-px6bZ6UFXaDeblnIzbYwjwN2BIAayGD7g1nzISnlkxKPKl4FyuFjF/bcGHLP965uAe+TjpjyDqpAgfPzGFeLbA==","signatures":[{"sig":"MEYCIQDTO/XuL8wTKWPe0B4oqO4/ml4Xs2NEp9XHj1G+TytvyQIhAMu+tOMhgoSNtPYpnQidAcydvYzaAkYS1/u1GxM2WYQQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":288897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDKkYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqq+g//VPQBy5OedoyUUH1pZc8/yZ07H9iRY21nST2oWmcPAGuCsoBb\r\nwLmL4J5W9+g5nC5kMBoPLMH4HkFE3pvJfFko4of7mmpzLz5lx9T+jj4PLXyP\r\ntTS+O7mU4YMcOMucBAgpm/GYgp+uoRGGr5A94OIRpltZnSDzcrr3yBn3R575\r\nsWJfRf/5jCJph/fNmgPpvd75WexiMqtbESyzp2pFLWrCh8x97ufdS/gEoZRx\r\ny2WqFj020nQqffygC4zvXziW5UWp+6wmMiDt/OeITXN4RIp2HLYl7qM76XkD\r\nP3vWeh185SAID0apbxAu+FF+SHDbmzpScvvKyAC1Y0CAcphxU8DwXjMJTPH4\r\nY5dd/PTI69IMPkW2ELrFs8CzdffySfMossmVEdlO/nOQdpBDpkEulyIZ6P4R\r\nLBX/06+1R7C8bscKnLhLVHWLDM9bQwMHHz1BC+hn/WJy3+VxSPB9HeeGJ1tY\r\n/cYXPDHiYXKKOE5zLXn6g0WIy24pI7jpNn1KX36IXvp9c4CfPZUULkzQBAL0\r\nu0tauAHTt5AXwJlr2YwDcPYWF2FYdhTYLPnaS3rjvBd8WStfEOeCZyj+Kki6\r\nVukxSWu3NeU4Kh6SaleuCpLGpmqJ2SiOsLZf1Gss2Yph3JG2rQ3DJLIqgzAO\r\nJvOzN6cHauPbGj1w+dS0aXiScWC1eUdHjAI=\r\n=N8BH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"56f96c2d0d525bd567103fe82e3eaffc2c0f0358","scripts":{"b":"tsc bench/test","lint":"eslint .","test":"jest","bench":"node bench/index.js","build":"tsc","bench:ts":"ts-node bench/index.ts","lint:fix":"eslint --fix .","lint:file":"eslint"},"_npmUser":{"name":"lob","email":"engineering@lob.com"},"repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"_npmVersion":"8.1.0","description":"The fastest Node.js library for measuring image and PDF dimensions.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"jest":"26.x.x","benny":"^3.7.1","eslint":"^7.13.0","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.0.5","@types/jest":"^26.0.15","calipers-png":"2.1.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^16.0.1","@typescript-eslint/parser":"^4.8.1","@typescript-eslint/eslint-plugin":"^4.8.1"},"_npmOperationalInternal":{"tmp":"tmp/calipers_3.0.0_1661774103960_0.3458429560435834","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-03-09T05:21:03.191Z","modified":"2026-09-24T17:28:01.789Z","0.0.1":"2015-03-09T05:21:03.191Z","0.1.0":"2015-03-30T03:32:12.799Z","0.1.1":"2015-03-30T03:34:40.066Z","1.0.0":"2015-04-03T01:25:33.449Z","1.0.1":"2015-04-29T01:40:52.621Z","1.0.2":"2015-05-17T01:15:21.280Z","1.1.0":"2015-07-31T00:25:35.766Z","1.2.0":"2015-10-02T17:46:03.651Z","1.3.0":"2015-10-08T21:17:43.022Z","1.4.0":"2015-11-04T00:42:47.961Z","1.5.0":"2015-12-02T18:10:35.070Z","1.5.1":"2015-12-04T01:26:11.480Z","2.0.0":"2015-12-06T21:19:22.962Z","2.0.1":"2018-06-08T20:35:39.295Z","2.1.0":"2022-08-24T16:46:17.922Z","3.0.0":"2022-08-29T11:55:04.173Z"},"bugs":{"url":"https://github.com/calipersjs/calipers/issues"},"author":{"name":"Marcus Gartner"},"license":"MIT","homepage":"https://github.com/calipersjs/calipers","keywords":["image","size","pdf","png","jpeg","gif","bmp","svg","webp"],"repository":{"url":"git+https://github.com/calipersjs/calipers.git","type":"git"},"description":"The fastest Node.js library for measuring image and PDF dimensions.","maintainers":[{"email":"siddharth.pant@lob.com","name":"siddharthpant92"},{"email":"lob.npm.owner@lob.com","name":"lob-owner"},{"email":"barnaby.go@lob.com","name":"barnabygo"},{"email":"team.platform@lob.com","name":"team.platform.lob.com"},{"email":"ken.pflum@lob.com","name":"kplob"},{"email":"vmangwani@lob.com","name":"vmangwani"},{"email":"nathaniel.waldschmidt@lob.com","name":"nathanielwaldschmidtlob"},{"email":"andrew.guterres@lob.com","name":"andrew.guterres"},{"email":"michael.morgan@lob.com","name":"mmorgan-lob"},{"email":"vikita.bhandari@lob.com","name":"vikita.bhandari"},{"email":"troy.armstrong@lob.com","name":"lobstertroy"},{"email":"hunter.yoakum@lob.com","name":"hunteryoakum"},{"email":"erik.forsman@lob.com","name":"erik.forsman-lob"},{"email":"joemeers82@gmail.com","name":"joemeers82"},{"email":"matthew.burke@lob.com","name":"matthew.burke"},{"email":"kevin.jones@lob.com","name":"kjones_lob"},{"email":"c_manoj.gowda@lob.com","name":"manojgowda27"},{"email":"rishabh.romit@lob.com","name":"rromit.lob"},{"email":"tanya.sah@lob.com","name":"tanya.sah"},{"email":"jaytee.sanchez@lob.com","name":"jayteelob"},{"email":"corey.johns@lob.com","name":"stackptr"},{"email":"haley.pelletier@lob.com","name":"hpelletier"},{"email":"james.douglas@lob.com","name":"douglaje"},{"email":"javier.garderes@lob.com","name":"jgarderes-lob"},{"email":"werner.morgenstern@lob.com","name":"wmorgensternlob"},{"email":"derek.provance@lob.com","name":"derekprovance-lob"},{"email":"connie.tiet@lob.com","name":"connietiet"},{"email":"pedro.clericuzzi@lob.com","name":"clericuzzi-lob"},{"email":"aaron.light@lob.com","name":"lighta"},{"email":"karrissa.volcy@lob.com","name":"karrissa-lob"},{"email":"natalie.molina@lob.com","name":"nataliemolina"},{"email":"samkit.sheth@lob.com","name":"samkitsheth"},{"email":"faissal.shabani@lob.com","name":"s551364"},{"email":"matias.ribichich@lob.com","name":"mribichich-lob"},{"email":"wei.jia@lob.com","name":"wjia"},{"email":"jeffrey.hage@lob.com","name":"jeff-h-lob"},{"email":"adnan.shoukfeh@lob.com","name":"lobnan"},{"email":"david.illing@lob.com","name":"dilling-lob"},{"email":"phil.switzer@lob.com","name":"philthelobster"},{"email":"olaotan.george@lob.com","name":"olaotangeorge"},{"email":"mathias.g.wolf@gmail.com","name":"mathiaswolf"},{"email":"sam.melero@lob.com","name":"sammelero"},{"email":"michael.senftleber@lob.com","name":"senftleber-lob"},{"email":"ryan.williams@lob.com","name":"ryanlob"},{"email":"marcus@lob.com","name":"mgartner"}],"readme":"# Calipers [![npm version](https://badge.fury.io/js/calipers.svg)](http://badge.fury.io/js/calipers) [![Build Status](https://github.com/calipersjs/calipers/actions/workflows/ci.yml/badge.svg)](https://github.com/calipersjs/calipers/actions)\n\nCurrent file types supported: **PDF, PNG, JPEG, GIF, BMP, WEBP, SVG**\n\nCalipers was built to provide a method of determining the dimensions of an image or PDF much faster and less resource-intensive than shelling-out to ImageMagick. At [Lob](https://lob.com) we must validate image and PDF sizes during the lifecyle of an API request. The simplest way to do this is to shell-out to ImageMagick to identify the type and size of a file. For high-traffic servers, this becomes a major bottleneck due to the inefficiency of shelling-out.\n\nCalipers remains performant because it avoids spawning child processes and it doesn't read entire files into memory. Instead, it intelligently reads only parts of the files that are necessary to determine the type and the dimensions of the file.\n\n# Installation\n\nCalipers uses a plugin architecture to allow users to include support for only the specific file types they need to measure. This helps avoid wasting CPU cycles measuring file types that an application doesn't support, and ensures users must only install dependencies that are absolutely needed (e.g. Poppler for PDF support).\n\nTo use Calipers, you must install the core library and at least one plugin. For example, for PNG support:\n\n```\nnpm install --save calipers calipers-png\n```\n\n### Official Plugins\n\nHere is a list of officially supported plugins:\n\nFile Type | Plugin\n--------- | ------\nPNG       | [calipers-png](https://github.com/calipersjs/calipers-png)\nJPEG      | [calipers-jpeg](https://github.com/calipersjs/calipers-jpeg)\nPDF <sup>†</sup>    | [calipers-pdf](https://github.com/calipersjs/calipers-pdf)\nGIF       | [calipers-gif](https://github.com/calipersjs/calipers-gif)\nBMP       | [calipers-bmp](https://github.com/calipersjs/calipers-bmp)\nWEBP      | [calipers-webp](https://github.com/calipersjs/calipers-webp)\nSVG       | [calipers-svg](https://github.com/calipersjs/calipers-svg)\n\n##### <sup>†</sup> PDF Support\n\nThe [Poppler](http://poppler.freedesktop.org/) library C++ interface is required for PDF support. You must install Poppler before running `npm install calipers-pdf`.\n\nTo install Poppler on Mac OS X using Homebrew:\n\n```\nbrew install poppler\n```\n\nTo install Poppler on Ubuntu:\n\n```\napt-get install pkg-config\napt-get install libpoppler-cpp-dev\napt-get install libpoppler-private-dev\n```\n\n# Usage\n\nCalipers must be initialized by calling the required function with supported file types passed in. Use the plugin name's suffix (everything after the first \"-\") as an argument.\n\n```javascript\n// Initializes Calipers with support for calipers-png, calipers-jpeg, calipers-pdf.\nvar Calipers = require('calipers')('png', 'jpeg', 'pdf');\n```\n\nCalipers exposes a single function, `measure`, once initialized.\n\n### `measure(filePath, [callback])`\n\nMeasures the file at the given path.\n- `filePath` - The path of the file.\n- `callback` - called when the file has been measured\n  - `err` - An Error is thrown for unsupported file types or corrupt files.\n  - `result` - Contains keys `type` and `pages`, where `type` is a string representing the file type (e.g. `'png'`), and `pages` is an array of objects with keys `width` and `height`. For image files, `pages` always has 1 element and `width` and `height` are the integer pixel dimensions. For PDF `width` and `height` are floating-point PostScript Point dimensions.\n\n# Examples\n\n```js\nvar Calipers = require('calipers')('png', 'pdf');\n\n// You can use a callback:\nCalipers.measure('/path/to/document.pdf', function (err, result) {\n  // result:\n  // {\n  //   type: 'pdf',\n  //   pages: [\n  //     {\n  //       width: 450,\n  //       height: 670\n  //     },\n  //     {\n  //       width: 450,\n  //       height: 670\n  //     }\n  //   ]\n  // }\n});\n\n// Or you can use promises:\nCalipers.measure('/path/to/file.png')\n.then(function (result) {\n  // result:\n  // {\n  //   type: 'png',\n  //   pages: [\n  //     {\n  //       width: 450,\n  //       height: 670\n  //     }\n  //   ]\n  // }\n});\n```\n\n# Custom Plugins\n\nCalipers also allows custom plugins for file types that are not officially supported or application-specific measuring. A Calipers plugin is simply an object with two functions, `detect` and `measure`. \n\n##### `detect(buffer)`\n\n```\n@param {Buffer} buffer - a Node buffer containing the first 16 bytes of the file\n@returns {Boolean} true if the given buffer is a file type supported by the plugin\n```\n\n##### `measure(path, fd)`\n\n```\n@param {String} path - the file to measure\n@param {Integer} fd - an opened, read-only file descriptor of the file; do not close,\n  Calipers will close file descriptors automatically\n@returns {Promise<Object> | Object} an object or promise resolving an object\n  containing 'type' and 'pages' fields. 'pages' is an array of objects, each with\n  a 'width' and 'height'\n```\n\nThe simple (and useless) example below illustrates how to create and use a custom plugin.\n\n```javascript\nvar fakePlugin = {\n  detect: function (buffer) {\n    // Return true if the file starts with 'fake'.\n    return buffer.toString('ascii', 0, 4) === 'fake';\n  },\n  measure: function (path, fd) {\n    // Return an arbitrary measurement.\n    return {\n      type: 'fake',\n      pages: [{\n        width: 0,\n        height: 0\n      }]\n    };\n  }\n};\n\nvar Calipers = require('calipers')('png', 'jpeg', fakePlugin);\n\nCalipers.measure('path/to/file/that/starts/with/fake')\n.then(function (result) {\n  // result:\n  // {\n  //   type: 'fake',\n  //   pages: [{\n  //     width: 0,\n  //     height: 0\n  //   }]\n  // }\n});\n```\n\n# Benchmarks\n\nAs with all benchmarks, take these with a grain of salt. You can run the benchmarks on your own hardware by cloning the benchmark repository: https://github.com/calipersjs/benchmark.\n\nThese benchmarks show the time taken to measure 500 iterations of each file type and each method with a concurrency of 50. They were run on a Mid-2014 13\" MacBook Pro with a 2.6 GHz Intel Core i5.\n\nFile Type | Shell Out Time (ms) | Calipers Time (ms)\n--------- | ------------------: | -----------------:\nPDF  | 2001 <sup>†</sup> | 92\nPNG  | 1814 <sup>††</sup> | 34\nJPEG | 1819 <sup>††</sup> | 56\nGIF  | 2411 <sup>††</sup> | 36\nBMP  | 1788 <sup>††</sup> | 35\n\n<sup>†</sup> Measured by spawning a child process which runs Poppler's `pdfinfo` command.\n\n<sup>††</sup> Measured by spawning a child process which runs ImageMagicks's `identify` command.\n\n# Contribute\n\n### Bug Reporting\n\nThe easiest and most helpful way to contribute is to find a file that Calipers incorrectly measures, and submit an issue or PR with the file.\n\n### New Plugins\n\nIf there is a file type you'd like to see supported, create an issue for it and we'll do our best to support it. Also, if you've created a custom plugin that you've found useful, please consider offering it as an official plugin.\n\n<br/><br/>\n##### Inspiration\n\nInspired by netroy's image-size library: https://github.com/netroy/image-size\n","readmeFilename":"README.md","users":{"lob":true,"carsy":true,"elnaz":true,"gloridea":true,"psbolden":true,"markthethomas":true}}