{"library":"grunt-strip-code","type":"library","category":null,"description":"grunt-strip-code is a Grunt plugin designed to remove specific sections of code from files during the build process, typically used to strip development or test-only code from production builds. It operates by identifying code blocks marked with configurable start and end comments (e.g., `/* test-code */` and `/* end-test-code */`) or by matching custom regular expressions. The current stable version is 1.0.12, published in June 2019. While the Grunt ecosystem is generally in maintenance mode compared to newer build tools, this plugin offers specific functionalities like parity and intersection checks for defined code blocks, helping to prevent accidental removal or retention of code. Its primary differentiation is its integration within the Grunt task runner for conditional code compilation.","language":"javascript","status":"maintenance","version":"1.0.12","tags":["javascript","gruntplugin","strip","unit","test","private","functions"],"last_verified":"Wed May 27","install":[{"cmd":"npm install grunt-strip-code","imports":["grunt.loadNpmTasks('grunt-strip-code');","grunt.initConfig({\n  strip_code: {\n    options: { /* ... */ },\n    your_target: { /* ... */ }\n  }\n});"]},{"cmd":"yarn add grunt-strip-code","imports":[]},{"cmd":"pnpm add grunt-strip-code","imports":[]}],"homepage":null,"github":"https://github.com/nuzzio/grunt-strip-code","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grunt-strip-code","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-strip-code/compatibility"}}