# grunt-legacy-util

> Some old grunt utils provided for backwards compatibility.

Latest version **2.0.2** (published 2026-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install grunt-legacy-util
pnpm add grunt-legacy-util
yarn add grunt-legacy-util
bun add grunt-legacy-util
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2026-04-14 |
| First published | 2014-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 7 |
| Unpacked size | 31.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Grunt Development Team |
| Maintainers | cowboy, krinkle, tkellen, vladikoff, shama |
| Keywords | grunt, legacy |

## Links

- npm: https://www.npmjs.com/package/grunt-legacy-util
- Repository: https://github.com/gruntjs/grunt-legacy-util
- Homepage: http://gruntjs.com/
- Issues: http://github.com/gruntjs/grunt-legacy-util/issues
- npm.io page: https://npm.io/package/grunt-legacy-util

## Dependencies (7)

- [async](https://npm.io/package/async.md) ~3.2.0
- [which](https://npm.io/package/which.md) ~2.0.2
- [exit-x](https://npm.io/package/exit-x.md) ~0.2.2
- [hooker](https://npm.io/package/hooker.md) ~0.2.3
- [lodash](https://npm.io/package/lodash.md) ^4.18.0
- [getobject](https://npm.io/package/getobject.md) ~1.0.0
- [underscore.string](https://npm.io/package/underscore.string.md) ~3.3.5

## Recent versions

- 2.0.2 (latest) — 2026-04-14
- 1.0.0-rc1 (rc1) — 2016-02-11
- 2.0.1 — 2021-04-22
- 2.0.0 — 2020-08-18
- 1.1.1 — 2018-05-21
- 1.1.0 — 2018-05-20
- 1.0.0 — 2016-04-03
- 0.2.0 — 2014-05-09
- 0.1.2 — 2014-03-06
- 0.1.1 — 2014-03-06
- 0.1.0 — 2014-03-06

## README

[![Build Status](https://github.com/gruntjs/grunt-legacy-util/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-legacy-util/actions?workflow=Tests)
[![Built with Grunt](https://gruntjs.com/builtwith.svg)](https://gruntjs.com/)
[![npm](https://img.shields.io/npm/v/grunt-legacy-util.svg?style=flat)](https://www.npmjs.com/package/grunt-legacy-util)

# grunt-legacy-util
> deprecated utilities from grunt

With the next major release of Grunt, we will no longer support these APIs.  Where possible, please use the recommended modules in their place.  If you would like to support or improve any of these APIs, please notify us when you have published a backwards compatible npm module&mdash;we will then recommend its usage here.

`grunt.util.namespace` use [getobject]  
`grunt.util.hooker` use [hooker]  
`grunt.util.async` use [async]  
`grunt.util._` use [lodash]  
`grunt.util.exit` use [exit]  
`grunt.util.callbackify`  
`grunt.util.error`  
`grunt.util.linefeed`  
`grunt.util.normalizelf`  
`grunt.util.kindOf` use [lodash]  
`grunt.util.toArray`
`grunt.util.repeat`  
`grunt.util.pluralize`  
`grunt.util.recurse` use [traverse]  
`grunt.util.spawn` use [require('child_process').spawn]  

[getobject]: https://www.npmjs.org/package/getobject
[hooker]: https://www.npmjs.org/package/hooker
[async]: https://www.npmjs.org/package/async
[lodash]: https://www.npmjs.org/package/lodash
[exit]: https://www.npmjs.org/package/exit
[traverse]: https://www.npmjs.org/package/traverse
[require('child_process').spawn]: https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options

---
_Source: https://npm.io/package/grunt-legacy-util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
