New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browsernizr

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browsernizr

Modernizr wrapper for use with browserify

2.1.0
Source
npm
Version published
Weekly downloads
4.7K
-6.65%
Maintainers
1
Weekly downloads
 
Created
Source

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');

Development

To build the latest version of modernizr

  .. clone repo ..
  npm install
  ./bin/build

Keywords

modernizr

FAQs

Package last updated on 15 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts