{"library":"grunt-modernizr","type":"library","category":null,"description":"grunt-modernizr is a Grunt.js plugin that automates the process of generating highly customized and optimized Modernizr builds. It functions by crawling a project's JavaScript and CSS files for references to Modernizr feature tests, then dynamically creating a minified Modernizr script that includes only the detected tests. The package is currently at stable version 5.0.3 and is actively maintained, with recent updates ensuring compatibility with newer Node.js versions. Its release cadence involves periodic major version bumps, indicating significant updates rather than daily changes. A key differentiator is its seamless integration into a Grunt build pipeline, eliminating the need for manual Modernizr configuration via the web interface and ensuring that the final build is lean, containing only the necessary feature detections to improve load times and overall application performance. It wraps the core `customizr` logic to achieve its build optimization.","language":"javascript","status":"active","version":"5.0.3","tags":["javascript","gruntplugin","modernizr","customizr"],"last_verified":"Wed May 27","install":[{"cmd":"npm install grunt-modernizr","imports":["grunt.loadNpmTasks(\"grunt-modernizr\");","module.exports = function(grunt) {\n  grunt.initConfig({\n    modernizr: {\n      dist: { /* ... config ... */ }\n    }\n  });\n  grunt.loadNpmTasks('grunt-modernizr');\n  grunt.registerTask('default', ['modernizr']);\n};"]},{"cmd":"yarn add grunt-modernizr","imports":[]},{"cmd":"pnpm add grunt-modernizr","imports":[]}],"homepage":null,"github":"https://github.com/Modernizr/grunt-modernizr","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grunt-modernizr","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/grunt-modernizr/compatibility"}}