tokei-tokens

Crates.iotokei-tokens
lib.rstokei-tokens
version13.0.1
created_at2025-08-30 13:30:30.511006+00
updated_at2025-08-30 13:39:09.560868+00
descriptionCount your code, quickly.
homepagehttps://tokei.rs
repositoryhttps://github.com/graves/tokei-tokens.git
max_upload_size
id1817628
size284,142
Thomas Gentry (graves)

documentation

README

Tokei Tokens (時計)

Tokei Tokens is a fork of Tokei that extends Tokei to add columns for source code and comment tokens.

Tokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.

Example

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Language              Files    Lines         Code     Comments       Blanks       SrcTok       ComTok       TotTok
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BASH                      4       48           30           10            8          203           95          298
JSON                      1     2050         2050            0            0        14617            0        14617
Shell                     1       49           38            1           10          260            5          265
TOML                      3      127          106            5           16          878           65          943
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
HTML                      1       12            9            1            2          114           58          172
 |-|vaScript              1       15           11            4            0           73           44          117
(Total)                           27           20            5            2            0            0            0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Markdown                  5     1721            0         1389          332          339        15757        16096
 |-BASH                   1        3            3            0            0           36            0           36
 |-JSON                   1       46           46            0            0          165            0          165
 |-Rust                   1        7            4            3            0           30           30           60
 |-Shell                  1       16           14            0            2          108            0          108
(Total)                         1793           67         1392          334            0            0            0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Rust                     24     4856         4070          166          620        28200         4706        32906
 |-Markdown              15      408            5          349           54           32         3202         3234
(Total)                         5264         4075          515          674            0            0            0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total                    39     9358         6386         1928         1044        44611        20686        65297
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

API Documentation

Installation

cargo install tokei-tokens
Commit count: 0

cargo fmt