Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gruntjs/grunt-lib-legacyhelpers
Some old grunt helpers provided for backwards compatability.
https://github.com/gruntjs/grunt-lib-legacyhelpers
Last synced: 2 months ago
JSON representation
Some old grunt helpers provided for backwards compatability.
- Host: GitHub
- URL: https://github.com/gruntjs/grunt-lib-legacyhelpers
- Owner: gruntjs
- License: mit
- Created: 2012-10-31T20:18:28.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T14:48:18.000Z (almost 4 years ago)
- Last Synced: 2024-10-13T14:30:14.198Z (3 months ago)
- Language: JavaScript
- Homepage: http://gruntjs.com/
- Size: 3.91 KB
- Stars: 6
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-lib-legacyhelpers
> Some old grunt helpers provided for backwards compatability.
Grunt's helper system has been deprecated 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
```js
// 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.*