Gathering detailed insights and metrics for shelljs-plugin-authors
Gathering detailed insights and metrics for shelljs-plugin-authors
npm install shelljs-plugin-authors
Typescript
Module System
Node Version
NPM Version
55.5
Supply Chain
92
Quality
75.8
Maintenance
100
Vulnerability
98.2
License
JavaScript (100%)
Total Downloads
136,715
Last Day
105
Last Week
506
Last Month
2,260
Last Year
67,763
2 Stars
680 Commits
2 Watching
1 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.162
Package Id
shelljs-plugin-authors@2.0.162
Unpacked Size
6.35 kB
Size
2.45 kB
File Count
5
NPM Version
10.5.0
Node Version
20.12.0
Publised On
27 Mar 2024
Cumulative downloads
Total Downloads
Last day
38.2%
105
Compared to previous day
Last week
8.1%
506
Compared to previous week
Last month
23.5%
2,260
Compared to previous month
Last year
69.7%
67,763
Compared to previous year
2
1
4
A ShellJS plugin for generating a nicely formatted list of authors.
Let's assume that we're inside a git repo, and the output of git shortlog -se
gives us something like:
24 Andrew Powlowski <Andrew_Powlowski@yahoo.com>
39 Gregorio Heaney <Gregorio.Heaney43@yahoo.com>
55 Miller Reichel <Miller_Reichel@yahoo.com>
70 Mervin Graham <Mervin69@yahoo.com>
99 Hallie Paucek <Hallie.Paucek@yahoo.com>
We want to generate a nicely formatted list of authors sorted alphabetically by author name. There are two ways to do that with this module, first you can use it as a ShellJS plugin:
1const shell = require('shelljs') 2require('shelljs-plugin-authors') 3const authors = shell.authors() 4shell.echo(authors.stdout) 5/* 6Andrew Powlowski <Andrew_Powlowski@yahoo.com> 7Gregorio Heaney <Gregorio.Heaney43@yahoo.com> 8Miller Reichel <Miller_Reichel@yahoo.com> 9Mervin Graham <Mervin69@yahoo.com> 10Hallie Paucek <Hallie.Paucek@yahoo.com> 11*/
Or you can use it via the CLI:
$ shelljs-authors
Andrew Powlowski <Andrew_Powlowski@yahoo.com>
Gregorio Heaney <Gregorio.Heaney43@yahoo.com>
Miller Reichel <Miller_Reichel@yahoo.com>
Mervin Graham <Mervin69@yahoo.com>
Hallie Paucek <Hallie.Paucek@yahoo.com>
If you'd prefer the list be sorted by number of commits per author, pass the -n
option:
1const shell = require('shelljs') 2require('shelljs-plugin-authors') 3const authors = shell.authors('-n') 4shell.echo(authors.stdout) 5/* 6Hallie Paucek <Hallie.Paucek@yahoo.com> 7Mervin Graham <Mervin69@yahoo.com> 8Miller Reichel <Miller_Reichel@yahoo.com> 9Gregorio Heaney <Gregorio.Heaney43@yahoo.com> 10Andrew Powlowski <Andrew_Powlowski@yahoo.com> 11*/
$ shelljs-authors -n
Hallie Paucek <Hallie.Paucek@yahoo.com>
Mervin Graham <Mervin69@yahoo.com>
Miller Reichel <Miller_Reichel@yahoo.com>
Gregorio Heaney <Gregorio.Heaney43@yahoo.com>
Andrew Powlowski <Andrew_Powlowski@yahoo.com>
Options
-n
- Optional Sort the list by number of commits per author.Example
1shell.authors('-n')
$ shelljs-authors -h
Usage: shelljs-authors [options]
Generate a nicely formatted list of authors
Options:
-V, --version output the version number
-n, --numbered Sort by number of commits per author
-h, --help output usage information
Examples:
$ shelljs-authors
$ shelljs-authors -n
$ npm i -D shelljs shelljs-plugin-authors
$ npm i -g shelljs shelljs-plugin-authors
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
19 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More