enable-mobile
Enable mobile metas for app, demo or tests
Last updated 9 years ago by dfcreative .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install enable-mobile 
SYNC missed versions from official npm registry.

enable-mobile stable

Include that script to enhance mobile view of the page. It is mostly collection of boilerplate code I used across various components demos, so here is all of it, to reuse hassle-free.

npm install enable-mobile

require('enable-mobile');

That will insert the following code:

<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0"/>
<style>/** normalize.css here **/</style>

Useful for tests, apps, demo.

Ideas for enhancements are welcomed.

Current Tags

  • 1.0.7                                ...           latest (9 years ago)

6 Versions

  • 1.0.7                                ...           9 years ago
  • 1.0.6                                ...           9 years ago
  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (5)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |