Paul Krill
Editor at Large

Grunt JavaScript task-runner nears 1.0 release

news
Apr 6, 20161 min

The newest release updates async callback handling, duplicate BOM handling, and the command-line interface

software update toolbox
Credit: Thinkstock

Grunt, a well-known task runner for automating JavaScript tasks, has gone to a 1.0.0 release. Changes include prevention of the async callback function from being called multiple times, removal of duplicate BOM (byte order mark) strip code, and updates to the command-line interface.

But the 1.0.0 version no longer supports Node.js 0.8, which debuted in mid-2012.

Grunt features plug-ins and serves as a build tool for project setup. Plug-ins are available via the NPM JavaScript package manager, and example plug-ins run predefined tasks, copy files, run tasks concurrently, and validate JSON files.

Adobe, Mozilla, Twitter, and Walmart all use Grunt. JetBrains’s WebStorm IDE for Node.js has integrated with Grunt. Microsoft has backed it as well, along with the Gulp task runner.

The Grunt team markets the tool’s usefulness in reducing workloads: “The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, the easier your job becomes. After you’ve configured it through a Gruntfile, a task runner can do most of that mundane work for you.”

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author