# Install modernizr with npm

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser. Version 3.13.1 via npm; verified 2024-08-06. Also installable with debian: sudo apt install libjs-modernizr.

## Install

```sh
sudo av install npm:modernizr
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g modernizr
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:modernizr
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/modernizr>
- **Version:** 3.13.1
- **Source summary:** Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
- **Homepage:** <https://github.com/Modernizr/Modernizr>
- **Repository:** <https://github.com/Modernizr/Modernizr>
- **Upstream docs:** <https://github.com/Modernizr/Modernizr>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/modernizr/-/modernizr-3.13.1.tgz>
- **Issue tracker:** <https://github.com/Modernizr/Modernizr/issues>
- **Published:** 2024-08-06T07:44:19.106Z
- **Last updated:** 2024-08-06T07:44:19.106Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- modernizr (cli)
- modernizr (alias)

## Dependencies

- doctrine
- file
- lodash
- markdown-it
- mkdirp
- requirejs
- yargs

## Build dependencies

- @babel/core
- @babel/preset-env
- @babel/register
- auto-changelog
- chai
- del
- eslint
- eslint-plugin-jsdoc
- find-parent-dir
- fs-extra
- globby
- gulp
- gulp-connect
- gulp-eslint
- gulp-pug
- joi
- jquery
- json3
- mocha
- mocha-headless-chrome
- proxyquire
- serve-static
- sinon
- ua-parser-js

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 3.13.1
- Package-manager updated: 2024-08-06
- Local data: ok
- Upstream repository: https://github.com/Modernizr/Modernizr
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for modernizr. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.13.1
- **Version Count:** 30
- **Maintainers:** patrickkettner, rejas, paulirish, slexaxton, ryanseddon, stucox, kurafire
- **Author:** Modernizr
- **Publisher:** rejas
- **Engines:** Node: >=8
- **Integrity:** sha512-jc7F04Wd8ngu+fNZYMdWmho6bdiNNnt01lAEF6WAGRay7haGzjWEj5wfBC/zNgv5BySJ+h29/ERMFX+zEcijvg==
- **Shasum:** 0102882d91e7546b833a6b833677a9f1a4fd1eb5
- **Unpacked Size:** 440,927
- **File Count:** 0
- **Created At:** 2014-10-27T12:08:09.333Z
- **Latest Published At:** 2024-08-06T07:44:19.106Z
- **Modified At:** 2025-10-13T17:09:37.970Z

## Other Package-Manager Records

- Debian apt - libjs-modernizr - 3.13.0-0.1: normalized package name match | Debian stable package indexes: libjs-modernizr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JavaScript library to detect HTML5 and CSS3 features in the user's browser | https://modernizr.com/
- Ubuntu apt - libjs-modernizr - 2.6.2+ds1-5: normalized package name match | Ubuntu 24.04 LTS package indexes: libjs-modernizr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JavaScript library to detect HTML5 and CSS3 features in the user's browser | https://modernizr.com/


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [evalmd](https://pkg.so/npm/evalmd/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, javascript, lodash.
- [purify-css](https://pkg.so/npm/purify-css/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, web.
- [react-snap](https://pkg.so/npm/react-snap/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, mkdirp.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
