{"id":15684854,"url":"https://github.com/erfanium/deno-objectid","last_synced_at":"2026-04-27T21:31:27.007Z","repository":{"id":62422107,"uuid":"365194419","full_name":"erfanium/deno-objectId","owner":"erfanium","description":"Native bson objectId implementation for Deno","archived":false,"fork":false,"pushed_at":"2021-05-14T10:47:10.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T22:34:06.378Z","etag":null,"topics":["bson","bson-objectid","deno","objectid"],"latest_commit_sha":null,"homepage":"","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/erfanium.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":"2021-05-07T10:15:36.000Z","updated_at":"2023-03-11T09:17:48.000Z","dependencies_parsed_at":"2022-11-01T17:33:12.060Z","dependency_job_id":null,"html_url":"https://github.com/erfanium/deno-objectId","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdeno-objectId","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdeno-objectId/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdeno-objectId/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fdeno-objectId/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfanium","download_url":"https://codeload.github.com/erfanium/deno-objectId/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246307931,"owners_count":20756478,"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":["bson","bson-objectid","deno","objectid"],"created_at":"2024-10-03T17:22:02.593Z","updated_at":"2026-04-27T21:31:26.971Z","avatar_url":"https://github.com/erfanium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno-objectId\n\nFunctional and Native bson objectId implementation for Deno, With ZERO third-party dependencies.\n## API\n\n```ts\nimport { objectId, getDate, decodeString, isValid } from \"https://deno.land/x/objectid@0.2.0/mod.ts\";\nimport { encodeToString } from \"https://deno.land/std@0.95.0/encoding/hex.ts\";\n\n// Create ObjectId\nconst id: Uint8Array = objectId();\n\n// Convert ObjectID to HexString\nconst hex: string = encodeToString(id); // \"60950fa4beaf70cffc9ac75d\"\n\n// Convert HexString to ObjectID\nconst id: Uint8Array = decodeString(hex);\n\n// Get objectId creation date\nconst date: Date = getDate(id);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fdeno-objectid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfanium%2Fdeno-objectid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fdeno-objectid/lists"}