{"id":20073546,"url":"https://github.com/ragingwind/eddystone-uid","last_synced_at":"2025-09-13T12:32:54.292Z","repository":{"id":35702294,"uuid":"39979727","full_name":"ragingwind/eddystone-uid","owner":"ragingwind","description":"Eddystone UID generator","archived":false,"fork":false,"pushed_at":"2016-11-24T00:04:40.000Z","size":7,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-22T07:50:37.837Z","etag":null,"topics":[],"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/ragingwind.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":"2015-07-31T01:11:54.000Z","updated_at":"2019-04-10T17:38:19.000Z","dependencies_parsed_at":"2022-08-17T21:55:56.650Z","dependency_job_id":null,"html_url":"https://github.com/ragingwind/eddystone-uid","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Feddystone-uid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Feddystone-uid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Feddystone-uid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Feddystone-uid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragingwind","download_url":"https://codeload.github.com/ragingwind/eddystone-uid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252579993,"owners_count":21771248,"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-11-13T14:46:43.908Z","updated_at":"2025-05-05T21:30:52.085Z","avatar_url":"https://github.com/ragingwind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eddystone-uid\n\n\u003e Eddystone UID convertor\n\n\n## Install\n\n```\n$ npm install --save eddystone-uid\n```\n\n\n## Usage\n\n```js\nvar eddystoneUid = require('eddystone-uid');\n\neddystoneUid.toBeaconId('123456');\n//=\u003e 313233343536\n\neddystoneUid.toBeaconId('app-id');\n//=\u003e 6170702d6964\n\neddystoneUid.toNamespace('https://goo.gl/r8iJqW');\n//=\u003e randomly\n\neddystoneUid.toNamespace('8b0ca750-e7a7-4e14-bd99-095477cb3e77');\n//=\u003e 8b0ca750095477cb3e77\n```\n\n## API\n\n### toBeaconId(src, encoding)\n\n#### src\n\nString to Beacon/Instance Id\n\n#### encoding\n\nEncoding type of Beacon Id, It returns String as encoding in `hex` other is `buf` to return raw Buffer\n\n### toNamespace(src)\n\n#### src\n\nUsing FQDN or UUID, which will be hashed and then truncated. Please refer [more info](https://github.com/ragingwind/eddystone/tree/master/eddystone-uid#truncated-hash-of-fqdn)\n\n## License\n\nMIT © [ragingwind](http://ragingwind.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragingwind%2Feddystone-uid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragingwind%2Feddystone-uid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragingwind%2Feddystone-uid/lists"}