You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

grunt-lib-legacyhelpers

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-lib-legacyhelpers

Some old grunt helpers provided for backwards compatability.


Version published
Weekly downloads
8.2K
decreased by-10.35%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

grunt-lib-legacyhelpers

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.

Usage

// 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

Package last updated on 26 Jan 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc