{"id":13486422,"url":"https://github.com/hua1995116/linec","last_synced_at":"2025-03-16T16:30:56.227Z","repository":{"id":52718163,"uuid":"143881176","full_name":"hua1995116/linec","owner":"hua1995116","description":":candy:一个高颜值命令行统计代码行数的计数器。(counts lines of code)","archived":false,"fork":false,"pushed_at":"2021-10-13T17:34:48.000Z","size":97,"stargazers_count":125,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T04:13:57.248Z","etag":null,"topics":["code","count","lines","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hua1995116.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-07T13:59:07.000Z","updated_at":"2024-08-02T02:57:08.000Z","dependencies_parsed_at":"2022-08-21T21:20:24.687Z","dependency_job_id":null,"html_url":"https://github.com/hua1995116/linec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Flinec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Flinec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Flinec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hua1995116%2Flinec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hua1995116","download_url":"https://codeload.github.com/hua1995116/linec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221665843,"owners_count":16860316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","count","lines","nodejs"],"created_at":"2024-07-31T18:00:45.532Z","updated_at":"2024-10-27T10:54:46.276Z","avatar_url":"https://github.com/hua1995116.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    linec\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/hua1995116/linec\"\u003e\u003cimg src=\"https://travis-ci.org/hua1995116/linec.svg?branch=master\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/hua1995116/linec\"\u003e\u003cimg src=\"https://codecov.io/gh/hua1995116/linec/branch/master/graph/badge.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://npmcharts.com/compare/linec?minimal=true\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/linec.svg\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/linec\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/linec.svg\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/linec\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/linec.svg?style=flat\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# 安装\n\n```\n$ npm install -g linec / cnpm install -g linec\n\n```\n\n# 使用\n\n基础用法\n```shell\n$ linec\n```\n\n导出到html\n```shell\n$ linec -o\n```\n\n# 功能\n\n- 输出空行，实际行数，总行数\n- 支持400+语言\n- 显示遍历速度\n- 显示多种颜色\n- 支持导出html\n- 自定义统计路径\n- 自定义忽略文件/目录\n\n\n# 参数\n\n\nUsage: index [options]\n\n  Options:\n\n    -V, --version        output the version number\n    -i, --ignore [path]  ignore path | \u003cexample\u003e linec -i './dist,./src'\n    -p, --path [path]    linec path | \u003cexample\u003e linec -p './dist'\n    -o, --output         ouput html | \u003cexample\u003e linec -o\n    -h, --help           output usage information\n\n\n# 效果图\n基础模式\n\n\u003cimg src=\"http://s3.qiufeng.blue/screenshot/linec1.png\"\u003e\n\n导出后打开html\n\u003cimg src=\"http://s3.qiufeng.blue/screenshot/linec2.png\"\u003e\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2018 蓝色的秋风\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Flinec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhua1995116%2Flinec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhua1995116%2Flinec/lists"}