{"id":16244628,"url":"https://github.com/indexzero/uuid-time","last_synced_at":"2025-03-19T18:33:19.410Z","repository":{"id":24349780,"uuid":"27747925","full_name":"indexzero/uuid-time","owner":"indexzero","description":"Get time from RFC4122 uuids","archived":false,"fork":false,"pushed_at":"2014-12-09T04:21:06.000Z","size":109,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T01:42:03.416Z","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/indexzero.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":"2014-12-09T03:33:45.000Z","updated_at":"2024-04-19T05:46:30.000Z","dependencies_parsed_at":"2022-08-22T18:00:48.292Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/uuid-time","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/indexzero%2Fuuid-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fuuid-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fuuid-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fuuid-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/uuid-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244013981,"owners_count":20383713,"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-10T14:19:59.292Z","updated_at":"2025-03-19T18:33:19.137Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uuid-time\n\nGet time from RFC4122 uuids\n\n### Motivation\n\nSo there was [this pull-request](https://github.com/broofa/node-uuid/pull/49) on the mainline [`node-uuid`](https://github.com/broofa/node-uuid) that hasn't been merged since 2012. So I decided to strip it out into a stand-alone module because I needed it.\n\n### Usage\n\n``` js\n//\n// Remark: This also works with uuids generated from\n// `require('uuid');`, which is a popular fork of `node-uuid`.\n//\nvar uuidTime = require('uuid-time'),\n    uuid     = require('node-uuid');\n\nvar v1 = uuid.v1();\nvar buf = uuid.parse(v1);\n\nconsole.log('%s (string) created at %s', v1, uuidTime.v1(v1));\nconsole.log('%s (buffer) created at %s', v1, uuidTime.v1(buf));\n```\n\n### Attribution\n\nMuch of this code was written by [Krassimir Fotev](https://github.com/krassif) in the pull request mentioned in Motivation. It was adapted and re-released under the MIT License.\n\n##### License: MIT\n##### Author: [Charlie Robbins](https://github.com/indexzero)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fuuid-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fuuid-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fuuid-time/lists"}