Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

browsernizr2

1.0.5 • Public • Published

Browsernizr

Modernizer wrapper for use with browserify (or some other node-style browser module loading system).

Usage

npm install browsernizr

 
// pick what tests you need
require('browsernizr/test/css/rgba');
require('browsernizr/test/file/filesystem');
require('browsernizr/test/websockets');
 
// make sure to do this _after_ importing the tests
require('browsernizr');
 
// or if you need access to the modernizr instance:
var Modernizr = require('browsernizr');
 

install

npm i browsernizr2

Downloadsweekly downloads

2

version

1.0.5

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability