grunt-lib-legacyhelpers
Advanced tools
Weekly downloads
Readme
Some old grunt helpers provided for backwards compatability.
Grunt's helper system has been depreciated in favor of node require
. If your plugin uses the concat
, gzip
or min_max_info
helpers, you may now use them by adding this package to your plugin's dependencies.
// adding this line near the top of your task will load the helpers,
// giving them access to the current instance of grunt.
var helpers = require('grunt-lib-legacyhelpers').init(grunt);
// then, replace any call to helpers:
grunt.helper('name', ...);
// with this:
helpers.name(...);
Future releases of grunt will provide the ability to pipe data through multiple tasks in your plugin code. For now, this is the canonical method for sharing common utility functions between tasks.
FAQs
Some old grunt helpers provided for backwards compatability.
The npm package grunt-lib-legacyhelpers receives a total of 529 weekly downloads. As such, grunt-lib-legacyhelpers popularity was classified as not popular.
We found that grunt-lib-legacyhelpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.