1.0.1 • Published 6 years ago

mobilify v1.0.1

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

mobilify Build Status unstable

Make stream of HTML mobile-friendly

Usage

npm install mobilify

$ browserify index.js | indexhtmlify | html-inject-meta | html-inject-github-corner | mobilify > index.html

Or

var mobilify = require('mobilify')

fs.createReadStream('index.html')
  .pipe(mobilify())
  .pipe(fs.createWriteStream('output.html'))

It takes a stream of html and includes mobile meta tags, normalize.css, polyfills typed arrays methods and Array.fill.

See Also

License

© 2017 Dmitry Ivanov. MIT License.