Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

yields/measure-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

measure-string

Measure string width.

Installation

Install with component(1):

$ component install yields/measure-string

API

measure(el, str)

Measure the given str for width based on the styling of el.

License

MIT

About

Measure a string width.

Resources

Stars

Watchers

Forks

Packages

No packages published