{"id":16832680,"url":"https://github.com/zswang/iorder","last_synced_at":"2025-03-18T00:49:56.641Z","repository":{"id":57276173,"uuid":"138114023","full_name":"zswang/iorder","owner":"zswang","description":"For the title sort of the article","archived":false,"fork":false,"pushed_at":"2018-06-25T09:42:09.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T09:09:35.576Z","etag":null,"topics":["number","order","sort","title"],"latest_commit_sha":null,"homepage":null,"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/zswang.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-06-21T03:20:28.000Z","updated_at":"2018-06-25T09:42:10.000Z","dependencies_parsed_at":"2022-08-25T01:14:17.738Z","dependency_job_id":null,"html_url":"https://github.com/zswang/iorder","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%2Fiorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fiorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fiorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fiorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/iorder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135897,"owners_count":20403797,"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":["number","order","sort","title"],"created_at":"2024-10-13T11:50:01.185Z","updated_at":"2025-03-18T00:49:56.617Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## iorder\n\n# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]\n\n用于文章标题排序 For the title sort of the article\n\n## 使用方法 Usage\n\n### 标题排序 Title sort\n\n```js\nvar parser = new iorder.Parser()\nconsole.log(\n  [\n    '第八期 设计语言和编程语言介绍（十）',\n    '第八期 设计语言和编程语言介绍(十一)',\n    '第一章 JavaScript 从入门到精通（下）',\n    '第八期 设计语言和编程语言介绍（九）',\n    '第一章 JavaScript 从入门到精通（中）',\n    '第一章 JavaScript 从入门到精通（上）',\n  ]\n    .sort((a, b) =\u003e {\n      return parser.replace(a).localeCompare(parser.replace(b))\n    })\n    .join('\\n')\n)\n// \u003e 第一章 JavaScript 从入门到精通（上）\n// \u003e 第一章 JavaScript 从入门到精通（中）\n// \u003e 第一章 JavaScript 从入门到精通（下）\n// \u003e 第八期 设计语言和编程语言介绍（九）\n// \u003e 第八期 设计语言和编程语言介绍（十）\n// \u003e 第八期 设计语言和编程语言介绍(十一)\n```\n\n## License\n\nMIT © [zswang](http://weibo.com/zswang)\n\n[npm-url]: https://npmjs.org/package/iorder\n[npm-image]: https://badge.fury.io/js/iorder.svg\n[travis-url]: https://travis-ci.org/zswang/iorder\n[travis-image]: https://travis-ci.org/zswang/iorder.svg?branch=master\n[coverage-url]: https://coveralls.io/github/zswang/iorder?branch=master\n[coverage-image]: https://coveralls.io/repos/zswang/iorder/badge.svg?branch=master\u0026service=github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fiorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Fiorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fiorder/lists"}