{"id":16760270,"url":"https://github.com/ryanve/arro","last_synced_at":"2025-09-02T04:33:03.105Z","repository":{"id":21223817,"uuid":"24538457","full_name":"ryanve/arro","owner":"ryanve","description":"left/right arrow keyboard shortcuts","archived":false,"fork":false,"pushed_at":"2014-09-27T17:58:55.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T21:51:20.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.org/package/arro","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/ryanve.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}},"created_at":"2014-09-27T17:45:24.000Z","updated_at":"2023-08-08T21:08:05.000Z","dependencies_parsed_at":"2022-09-06T02:11:41.596Z","dependency_job_id":null,"html_url":"https://github.com/ryanve/arro","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanve%2Farro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanve%2Farro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanve%2Farro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanve%2Farro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanve","download_url":"https://codeload.github.com/ryanve/arro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847056,"owners_count":20357317,"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-13T04:22:56.790Z","updated_at":"2025-03-16T09:16:31.834Z","avatar_url":"https://github.com/ryanve.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arro\n#### left/right-arrow keyboard shortcuts for flipping through `[rel=\"prev\"]` and `[rel=\"next\"]` links using native JavaScript\n\n## Usage \nLoad [arro.js](arro.js) via `script` tag or via `require('arro')` in your bundle. Specify `[rel=\"prev\"]` and `[rel=\"next\"]` URLs via either `link[href]` in `a[href]` tags.\n\n### `link` example\n```html\n\u003c!DOCTYPE html\u003e\n\u003ctitle\u003e2.html\u003c/title\u003e\n\u003clink rel=\"prev\" href=\"1.html\"\u003e\n\u003clink rel=\"next\" href=\"3.html\"\u003e\n\u003ch1\u003e2\u003c/h1\u003e\n\u003cscript src=\"arro.js\" async\u003e\u003c/script\u003e\n```\n\n### `a` example\n```html\n\u003c!DOCTYPE html\u003e\n\u003ctitle\u003e2.html\u003c/title\u003e\n\u003ch1\u003e2\u003c/h1\u003e\n\u003cnav\u003e\n  \u003ca rel=\"prev\" href=\"1.html\"\u003ePrevious\u003c/a\u003e\n  \u003ca rel=\"next\" href=\"3.html\"\u003eNext\u003c/a\u003e\n\u003c/nav\u003e\n\u003cscript src=\"arro.js\" async\u003e\u003c/script\u003e\n```\n\n## Demo\n1. Download or clone the repo\n1. Open [test/index.html](test/index.html) in a web browser\n\n## Compatibility\nWorks in all modern browsers\n\n## Fund\n\u003cb\u003e[Tip the developer](https://gratipay.com/ryanve/)\u003c/b\u003e =)\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanve%2Farro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanve%2Farro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanve%2Farro/lists"}