GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FE-CodeGenius/codegenius-quantity-plugin: 运行 cloc 分析并统计代码量

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
scripts
scripts
 
 
src
src
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.release-it.js
.release-it.js
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
codeg.config.mjs
codeg.config.mjs
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rollup.config.mjs
rollup.config.mjs
 
 
scripts.config.json
scripts.config.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

@codegenius/quantity-plugin

运行 cloc 分析并统计代码量

安装

npm i @codegenius/quantity-plugin -D
import { defineConfig } from "code-genius";
import { quantityInstaller } from "@codegenius/quantity-plugin";

export default defineConfig({
  plugins: [quantityInstaller()],
});

使用

命令模式

# 统计 src 文件夹下代码情况
codeg quantity -p src
选项 描述
-p, --path <path> 设置代码路径

API 模式

import { quantity } from "@codegenius/quantity-plugin";

(async () => {
  await quantity("./src");
})();

About

运行 cloc 分析并统计代码量

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.