UNPKG

get-text-width

Version:

This module helps calculate the rendered width of text.

43 lines (42 loc) 1.18 kB
{ "name": "get-text-width", "version": "1.0.3", "description": "This module helps calculate the rendered width of text.", "main": "./lib/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { "build": "tsc", "postbuild": "uglifyjs --compress --mangle --output ./lib/index.js -- ./lib/index.js", "prepublish": "npm run build", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/evargast/getTextWidth.git.git" }, "keywords": [ "typescript", "javascript", "node", "width", "react", "vue", "overflow", "angular", "canvas", "jest" ], "author": "Eduardo Vargas <eduardo@adobe.com>", "license": "ISC", "bugs": { "url": "https://github.com/evargast/getTextWidth.git/issues" }, "homepage": "https://github.com/evargast/getTextWidth.git#readme", "devDependencies": { "uglify-js": "^3.14.2", "typescript": "^4.4.2" }, "dependencies": {}, "peerDependencies": {} }