@jimengio/project-stats

0.1.2 • Public • Published

Project Stats

scripts to gather file informations.

Usage

npm

yarn global add @jimengio/project-stats

unimported

unimported is a command for listing files not required from entry file:

project-unimported src/main.tsx

it relies on package.json and tsconfig.json for configs.

uppercase

List all files with uppercase letter in filename:

project-uppercase src/

frequency

Find editing frequency of each file from Git history:

project-frequency

project-frequency src # paths begin with "src"

usages

Detect usages of useState(currently only useState):

project-usages

limitSize=5 project-usages

file-size

project-file-size

limitSize=800 project-file-size

Stats(TODO)

project-stats config.edn
{
  :base "/home/jimeng/repo/web/"
  :pick-entries ["shared" "system"]
  :highlights [
    {:type :lines, :succeed 800}
    {:type :frequency, :content "useState", :succeed 10}
  ]
}

Workflow

Workflow https://github.com/mvc-works/calcit-workflow

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @jimengio/project-stats

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

461 kB

Total Files

9

Last publish

Collaborators

  • imzshh
  • jiyinyiyong
  • rebirth