UNPKG

calculate-size

Version:
40 lines (39 loc) 913 B
{ "name": "calculate-size", "version": "1.1.1", "description": "Calculate the pixel size of a string", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "ava -s test/index.js", "prepublish": "npm run build", "build": "rm -rf lib && tsc" }, "files": [ "lib" ], "repository": { "type": "git", "url": "https://github.com/schickling/calculate-size.git" }, "keywords": [ "font", "calculate", "size", "width", "height", "dimension" ], "author": "Johannes Schickling <schickling.j@gmail.com> (https://github.com/schickling)", "license": "MIT", "bugs": { "url": "https://github.com/schickling/calculate-size/issues" }, "homepage": "https://github.com/schickling/calculate-size", "devDependencies": { "ava": "^0.17.0", "express": "^4.14.0", "nightmare": "^2.8.1", "typescript": "^2.0.10" } }