calculate-text-width
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "calculate-text-width", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Function that calculates width of typed text", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
const _calcTW = (value, font = "normal 500 14px 'HK Nova',sans-serif") => { | ||
const _calcTW = (value, font = "normal 500 14px sans-serif") => { | ||
const canvas = | ||
@@ -3,0 +3,0 @@ _calcTW.canvas || |
2455