1.0.1 • Published 6 years ago

fittxt v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

1.0.1

6 years ago

1.0.0

6 years ago