{"id":16832615,"url":"https://github.com/zswang/linenum","last_synced_at":"2026-06-25T03:31:19.528Z","repository":{"id":143886163,"uuid":"68583512","full_name":"zswang/linenum","owner":"zswang","description":"This tool will replace text \"^linenum\" with the line number.","archived":false,"fork":false,"pushed_at":"2017-08-21T12:49:50.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T11:23:15.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zswang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-19T08:08:22.000Z","updated_at":"2017-05-26T12:02:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cad3d17-122f-4fa3-8f4b-81a748ab5522","html_url":"https://github.com/zswang/linenum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zswang/linenum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flinenum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flinenum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flinenum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flinenum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/linenum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flinenum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34758773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T11:49:41.253Z","updated_at":"2026-06-25T03:31:19.509Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Line Number 代码行数\n-------\n\n# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]\n\n## 背景\n\n代码经过预处理后行数可能会发生变化，当我们分析问题时通常需要源代码的行号\n\n### 需求场景\n\n* 标记执行代码所在行数。\n\n## 使用\n\n### 安装\n\n```bash\n$ npm i -g linenum\n```\n\n### 命令行\n\n```bash\n$ linenum app.js -o app.release.js\n```\n\n## License\n\nMIT © [zswang](http://weibo.com/zswang)\n\n[npm-url]: https://npmjs.org/package/linenum\n[npm-image]: https://badge.fury.io/js/linenum.svg\n[travis-url]: https://travis-ci.org/zswang/linenum\n[travis-image]: https://travis-ci.org/zswang/linenum.svg?branch=master\n[coverage-url]: https://coveralls.io/github/zswang/linenum?branch=master\n[coverage-image]: https://coveralls.io/repos/zswang/linenum/badge.svg?branch=master\u0026service=github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Flinenum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Flinenum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Flinenum/lists"}