{"id":23557759,"url":"https://github.com/az33zy/lexirank","last_synced_at":"2026-02-13T01:09:00.988Z","repository":{"id":268983146,"uuid":"906084713","full_name":"az33zy/lexirank","owner":"az33zy","description":"Ranking system for ordered lists that leverages lexicographic ordering feature of strings.","archived":false,"fork":false,"pushed_at":"2024-12-24T18:29:45.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-28T09:29:59.558Z","etag":null,"topics":["lexicographic","lexorank","ordered-list","ranking","sorting"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lexirank","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/az33zy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null},"funding":{"github":"az33zy"}},"created_at":"2024-12-20T06:10:56.000Z","updated_at":"2024-12-24T18:29:19.000Z","dependencies_parsed_at":"2025-04-30T10:22:33.204Z","dependency_job_id":"8d3312b2-4dc3-43d3-9545-57c72f7b6b12","html_url":"https://github.com/az33zy/lexirank","commit_stats":null,"previous_names":["az33zy/lexirank"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/az33zy/lexirank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Flexirank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Flexirank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Flexirank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Flexirank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/az33zy","download_url":"https://codeload.github.com/az33zy/lexirank/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Flexirank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29391073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"ssl_error","status_checked_at":"2026-02-13T00:53:09.126Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["lexicographic","lexorank","ordered-list","ranking","sorting"],"created_at":"2024-12-26T15:16:57.347Z","updated_at":"2026-02-13T01:09:00.981Z","avatar_url":"https://github.com/az33zy.png","language":"JavaScript","funding_links":["https://github.com/sponsors/az33zy"],"categories":[],"sub_categories":[],"readme":"# LexiRank\n\n[![Version](https://badgen.net/npm/v/lexirank)](https://www.npmjs.com/package/lexirank)\n[![Bundle Size](https://badgen.net/bundlephobia/minzip/lexirank)](https://bundlephobia.com/package/lexirank)\n[![License](https://badgen.net/github/license/az33zy/lexirank)](LICENSE)\n\nRanking system for ordered lists that leverages lexicographic ordering feature of strings.\n\n## Installation\n\n### NPM\n\n```bash\nnpm i lexirank\n```\n\n### PNPM\n\n```bash\npnpm add lexirank\n```\n\n### Yarn\n\n```bash\nyarn add lexirank\n```\n\n### Bun\n\n```bash\nbun add lexirank\n```\n\n## Usage\n\n```js\nimport { LexiRank, AsciiPrintableCharSet } from \"lexirank\"\n\nconst lexirank = new LexiRank(new AsciiPrintableCharSet())\n\nconst mid = lexirank.mid() // \"O\"\nconst beforeMid = lexirank.before(mid) // \"8\"\nconst afterMid = lexirank.after(mid) // \"f\"\nconst between = lexirank.between(\"A\", \"C\") // \"B\"\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faz33zy%2Flexirank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faz33zy%2Flexirank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faz33zy%2Flexirank/lists"}