{"id":13605142,"url":"https://github.com/choojs/nanolocation","last_synced_at":"2025-04-12T02:32:48.760Z","repository":{"id":57307976,"uuid":"95934234","full_name":"choojs/nanolocation","owner":"choojs","description":"📍- Small window.location library","archived":false,"fork":false,"pushed_at":"2018-04-11T11:16:13.000Z","size":6,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T22:07:20.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/choojs.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":"2017-07-01T01:12:42.000Z","updated_at":"2022-07-07T09:36:06.000Z","dependencies_parsed_at":"2022-09-09T01:01:16.081Z","dependency_job_id":null,"html_url":"https://github.com/choojs/nanolocation","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/choojs%2Fnanolocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choojs%2Fnanolocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choojs%2Fnanolocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choojs%2Fnanolocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choojs","download_url":"https://codeload.github.com/choojs/nanolocation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506932,"owners_count":21115510,"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-08-01T19:00:55.109Z","updated_at":"2025-04-12T02:32:48.506Z","avatar_url":"https://github.com/choojs.png","language":"JavaScript","readme":"# nanolocation [![stability][0]][1]\n[![npm version][2]][3] [![build status][4]][5]\n[![downloads][8]][9] [![js-standard-style][10]][11]\n\nSmall window.location library\n\n## Usage\n```js\nvar nanolocation = require('nanolocation')\nvar location = nanolocation()\nconsole.log(location)\n```\n\n## API\n### `location = nanolocation()`\nGet the current `window.location.pathname` + `window.location.hash` as a\nsingle path. E.g. a pathname of `/foo/bar/` and hash of `#baz` becomes\n`/foo/bar/baz`.\n\n## License\n[MIT](https://tldrlegal.com/license/mit-license)\n\n[0]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square\n[1]: https://nodejs.org/api/documentation.html#documentation_stability_index\n[2]: https://img.shields.io/npm/v/nanolocation.svg?style=flat-square\n[3]: https://npmjs.org/package/nanolocation\n[4]: https://img.shields.io/travis/choojs/nanolocation/master.svg?style=flat-square\n[5]: https://travis-ci.org/choojs/nanolocation\n[6]: https://img.shields.io/codecov/c/github/choojs/nanolocation/master.svg?style=flat-square\n[7]: https://codecov.io/github/choojs/nanolocation\n[8]: http://img.shields.io/npm/dm/nanolocation.svg?style=flat-square\n[9]: https://npmjs.org/package/nanolocation\n[10]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[11]: https://github.com/feross/standard\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoojs%2Fnanolocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoojs%2Fnanolocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoojs%2Fnanolocation/lists"}