Skip to content
Measure how fast your repo is growing using cloc
Branch: master
Clone or download
Latest commit bb19b2d May 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.flowconfig Init commit Apr 26, 2018
.gitignore Init commit Apr 26, 2018
LICENSE Init commit Apr 26, 2018
README.md Add --branch option (#5) Apr 26, 2018
cli.js stuff May 18, 2018
index.js stuff May 18, 2018
package.json 1.2.0 May 18, 2018
yarn.lock Init commit Apr 26, 2018

README.md

repo-growth

Measure how fast your repo is growing using cloc

Install

npm i -g repo-growth

Usage

Important Make sure you've pulled master and your repo is in a clean state.

repo-growth
┌─────────────────────┬─────────────┬───────────┐
│ Period              │ Total Files │ Total LoC │
├─────────────────────┼─────────────┼───────────┤
│ 2018-04-13 dcc45d5e │ 4733        │ 367730    │
├─────────────────────┼─────────────┼───────────┤
│ 2018-03-14 ec777af1 │ 4405        │ 341956    │
├─────────────────────┼─────────────┼───────────┤
│ 2018-02-12 f495c9e8 │ 4021        │ 321328    │
├─────────────────────┼─────────────┼───────────┤
│ 2018-01-13 b77fe94c │ 3422        │ 309158    │
├─────────────────────┼─────────────┼───────────┤
│ 2017-12-14 62eb5a8d │ 2259        │ 248322    │
├─────────────────────┼─────────────┼───────────┤
│ 2017-11-14 b5e5dbe6 │ 1315        │ 84613     │
├─────────────────────┼─────────────┼───────────┤
│ 2017-10-15 06a4a3cb │ 185         │ 7658      │
├─────────────────────┼─────────────┼───────────┤
│ 2017-09-15 cbb47a99 │ 142         │ 5777      │
├─────────────────────┼─────────────┼───────────┤
│ 2017-08-16 8e692a43 │ 19          │ 840       │
└─────────────────────┴─────────────┴───────────┘

--start, -s

Default: Date of first commit

repo-growth --start 2017-01

--end, -e

Default: Today

repo-growth --end 2018-01

--freq, -f

Default: 30

repo-growth --freq 7

--branch, -b

Default: "master"

repo-growth --branch production
You can’t perform that action at this time.