{"id":16832615,"url":"https://github.com/zswang/linenum","last_synced_at":"2025-03-18T02:19:42.152Z","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":2,"default_branch":"master","last_synced_at":"2025-01-24T09:41:35.853Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141479,"owners_count":20404837,"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":[],"created_at":"2024-10-13T11:49:41.253Z","updated_at":"2025-03-18T02:19:42.133Z","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"}