The npm package cloc receives a total of 12,869 downloads a week. As such, we scored cloc popularity level to be Recognized.
Based on project statistics from the GitHub repository for the npm package cloc, we found that it has been starred 184 times, and that 78 other projects on the ecosystem are dependent on it.
Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.
Snyk detected that the latest version of cloc has a security vulnerability.
We highly advise you to review these security issues.
You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.
We found a way for you to contribute to the project! Looks like cloc is missing a security policy.
# Install the Snyk CLI and test your project
npm i snyk && snyk test cloc
Further analysis of the maintenance status of cloc based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Sustainable.
We found that cloc demonstrates a positive version release cadence with at least one new version released in the past 3 months.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.
This project has seen only 10 or less contributors.
We found a way for you to contribute to the project! Looks like cloc is missing a Code of Conduct.
We noticed that this project uses a license which requires less permissive conditions such as disclosing the source code, stating changes or redistributing the source under the same license. It is advised to further consult the license terms before use.
cloc has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.
cloc is written in perl and the binary that this package exposes is the
perl script. You must have perl installed on your machine for this binary to
This is distributed as an
npm package (some say that stands for "Node Package
Manager"). So you must have Node.js and npm installed.
Here are quick instructions on how to get those: http://blog.nodeknockout.com/post/65463770933/how-to-install-node-js-and-npm
Congratulations, you've opened your life to a whole new world of awesome tooling and other cool things :-)
The recommended usage is temporary installation using
npx cloc [options]
However, you can also install it globally or locally to a project. Learn more
In your terminal, simply type
npx cloc to get output of the options available.
See the official cloc website for documentation
on how to use
Here's the output when you run
To update the
cloc version, run:
npm run update -- VERSION
npm run update -- 1.88
This package is and the
cloc cli itself is licensed with GPL 2.
|Version||Published||Tag||Node.js Compatability||Licenses||Dependencies||Direct Vulnerabilities||Publisher|
|2.7.0||14 September 2020||latest||*||GPL-2.0||0||kentcdodds|
|2.6.0||06 August 2020||*||GPL-2.0||0||kentcdodds|
|2.5.1||11 December 2019||*||GPL-2.0||0||kentcdodds|