
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Hum, hum could run grunt inside a specified cwd and search tasks from the given paths.

Play with grunt.
npm install hum --save
Actually, hum is an alternative of Gruntfile.js and supplies a bunch of promise-style APIs.
With hum, you could replace the code inside 'Gruntfile.js' with hum methods, and search available tasks only from your specified paths, as well as the PATH and NODE_PATH do.
So, it becomes possible for you to run a same tier of tasks for severial different projects.
var hum = require('hum');
hum({
path: '</path/to/search>',
cwd:
})
.npmTasks('my-task')
.task('blah') // blah is defined in my-task
.init({
// task name
blah: {
// target must be defined
test: {
}
}
})
.options({
verbose: true
})
.done(function(err){
})
Creates a hum instance.
type path
The path(s) to search tasks from.
type path, default to the process.cwd.
It will be added to every target of each task configuration and will affect all configurations related to files, src, and dest.
type Boolean, default to false
By default, hum will concat the NODE_PATH to the end of the path list.
Similar to grunt.loadNpmTasks(moduleName)
Specifies the tasks to run, if no task is specified, hum will try to run the 'default' task.
Similar to grunt.initConfig(config)
Sets options for grunt cli.
.options({verbose: true}) is equivalent to grunt --verbose.
The promised callback.
FAQs
Hum, hum could run grunt inside a specified cwd and search tasks from the given paths.
The npm package hum receives a total of 13 weekly downloads. As such, hum popularity was classified as not popular.
We found that hum 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.