
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
grunt-legacy-config
Advanced tools

Grunt's config methods, as a standalone library.
This is not ready for use yet! We'll update the readme when it's ready to go, feel free to star the project if you want updates in the meantime!
Install with npm
$ npm i grunt-legacy-config --save-dev
var config = require('grunt-legacy-config');
Get/set config data. If value was passed, set. Otherwise, get.
Params
prop {String}value {*}returns {String}Example
config([prop [, value]])
Escape any . in the given propString with \. This should be used for property names that contain dots.
Params
str {String}: String with .s to escapereturns {String}Example
config.escape('foo.js');
//=> 'foo\.js'
Return prop as a string. If an array is passed, a dot-notated string will be returned.
Params
prop {String|Array}returns {String}Example
config.getPropString(['a', 'b']);
//=> 'a.b'
Get a raw value from the project's Grunt configuration, without processing <% %> template strings.
Params
prop {String}: The name of the property to get.returns {*}: Returns the value of the given property.Example
config.getRaw([prop])
Get a value from the project's Grunt configuration, recursively processing templates. http://gruntjs.com/api/grunt.config#grunt.config.get
Params
prop {String}returns {*}: Returns the value of propExample
grunt.config.get([prop]);
First:
(loosely in this order...)
Next:
grunt.config internal module with grunt-legacy-configInstall dev dependencies:
$ npm install -d && grunt
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
"Cowboy" Ben Alman
Copyright (c) 2015 "Cowboy" Ben Alman Released under the MIT license.
This file was generated by verb-cli on May 14, 2015.
FAQs
Grunt's config methods, as a standalone library.
We found that grunt-legacy-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.