fittxt

1.0.1 • Public • Published

fittxt

package version package downloads standard-readme compliant package license make a pull request

Modernized FitText.js

Table of Contents

Install

This project uses node and npm.

$ npm install fittxt
# OR 
$ yarn add fittxt

Usage

import fittxt from 'fittxt'
 
fittxt('.test', {
  factor: 6,
  min: 50,
  max: 600,
  throttleTime: 500
})
fittxt(['.test', '.foop'])
fittxt(document.querySelector('.test'))
 

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fittxt

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

13.2 kB

Total Files

10

Last publish

Collaborators

  • tiaanduplessis