# count-your-code

> **[中文](https://gitee.com/luotybest/count-your-code/blob/master/README.zh.md)** ## first of all I code this demo on my windows system,if yours is linux or Mac, you need to put the executable file count to your path: ls -n /node_module

Latest version **1.2.0** (published 2021-07-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install count-your-code
pnpm add count-your-code
yarn add count-your-code
bun add count-your-code
```

Provides the command `count`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2021-07-26 |
| First published | 2021-07-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | luotianyu |

## Links

- npm: https://www.npmjs.com/package/count-your-code
- Homepage: https://gitee.com/luotybest/count-your-code
- npm.io page: https://npm.io/package/count-your-code

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^8.0.0

## Recent versions

- 1.2.0 (latest) — 2021-07-26
- 1.0.4 — 2021-07-25
- 1.0.3 — 2021-07-25
- 1.0.2 — 2021-07-25
- 1.0.1 — 2021-07-25
- 1.0.0 — 2021-07-24

## README

# One script to count your total lines of your project
**[中文](https://gitee.com/luotybest/count-your-code/blob/master/README.zh.md)**
## first of all
I code this demo on my windows system,if yours is linux or Mac, you need to put the executable file count to your path:
ls -n <your-project-name>/node_modules/.bin/count /usr/bin/   (/usr/local/bin)

**note**: when you are link the program count to your path, the path of `count` must be a absolute path

## usage
```bash
npm install count-your-code -g

count -t <type_list...> -d <directory_list...> -n [true/false]
    # -t: tell the program what type of file you want to count
    # -d: tell the program which file or directory you want to count
    # -n: tell the program if you want the directory `node_modules` to be included
```

---
_Source: https://npm.io/package/count-your-code · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
