txt-width

1.0.2 • Public • Published

txt-width

A lib that calculates the width of any given text, based upon specific font size and styles.

NPM version Build Status Clean Code Dependency Status devDependency Status License

Browser support

Chrome, Safari, Firefox, Opera, IE6+

Installation

    npm install txt-width

    or 

    jspm install npm:txt-width

Usage

    var txt-width = require('txt-width');

    /**
    * TODO add doc.
    */

Tests

    # TODO add test.

    npm test

Readme

Keywords

Package Sidebar

Install

npm i txt-width

Weekly Downloads

13

Version

1.0.2

License

MIT

Last publish

Collaborators

  • wenwu