{"id":19014418,"url":"https://github.com/vaneenige/uon","last_synced_at":"2025-04-23T00:43:33.031Z","repository":{"id":57387024,"uuid":"167067223","full_name":"vaneenige/uon","owner":"vaneenige","description":" 🐨 A tiny 200b route change observer.","archived":false,"fork":false,"pushed_at":"2019-05-20T17:10:16.000Z","size":7,"stargazers_count":84,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T00:43:24.514Z","etag":null,"topics":["navigation","observer","route"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/uon","language":"TypeScript","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/vaneenige.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":"2019-01-22T21:05:42.000Z","updated_at":"2025-02-24T23:56:27.000Z","dependencies_parsed_at":"2022-09-15T03:02:25.088Z","dependency_job_id":null,"html_url":"https://github.com/vaneenige/uon","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/vaneenige%2Fuon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Fuon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Fuon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Fuon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneenige","download_url":"https://codeload.github.com/vaneenige/uon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348884,"owners_count":21415907,"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":["navigation","observer","route"],"created_at":"2024-11-08T19:29:25.164Z","updated_at":"2025-04-23T00:43:33.017Z","avatar_url":"https://github.com/vaneenige.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update On Navigate (uon)\n\n[![npm version](https://img.shields.io/npm/v/uon.svg)](https://www.npmjs.com/package/uon)\n[![gzip size](http://img.badgesize.io/https://unpkg.com/uon/dist/uon.mjs?compression=gzip)](https://unpkg.com/uon)\n[![license](https://img.shields.io/npm/l/uon.svg)](https://github.com/vaneenige/uon/blob/master/LICENSE)\n[![dependencies](https://img.shields.io/badge/dependencies-none-ff69b4.svg)](https://github.com/vaneenige/uon/blob/master/package.json)\n[![TypeScript](https://img.shields.io/static/v1.svg?label=\u0026message=TypeScript\u0026color=294E80)](https://www.typescriptlang.org/)\n\nUpdate On Navigate (uon) is a tiny library that observes route changes and delivers updates through a callback.\n\n#### Features:\n\n- Small in size, no dependencies\n- Observe native navigation\n- Observe manual navigation\n\n## Install\n\n```\n$ npm install --save uon\n```\n\n## Usage\n\n```js\n// Import the library\nimport uon from 'uon';\n\n// Observe route changes\nuon((route) =\u003e { ... });\n```\n\u003e The returned route will be the current pathname.\n\n## License\n\nMIT © \u003ca href=\"https://use-the-platform.com\"\u003eColin van Eenige\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneenige%2Fuon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneenige%2Fuon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneenige%2Fuon/lists"}