node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

mobilify

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.