Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
grunt-stats
Advanced tools
Readme
Display files statistic for separate directories in your project.
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-stats --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-stats');
In your project's Gruntfile, add a section named stats
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
stats: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
Choices: 'verbose'
, 'short'
Default: 'short'
Either display only short statistic for directory (amount of files and overall size) or display full report in a table format (list of all files, sorted by file size).
In this example, the default options are used to display short statistic for app/js/
directory. And the custom options are used to display full statistic for app/
and assets/
directories separately.
grunt.initConfig({
stats: {
default_options: ['app/js/'],
custom_options: {
options: {
mode: 'verbose'
},
src: ['app/', 'assets/']
}
},
});
MIT © Sergey Lysenko
FAQs
Display files statistic for separate directories in your project.
The npm package grunt-stats receives a total of 2 weekly downloads. As such, grunt-stats popularity was classified as not popular.
We found that grunt-stats 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.