{"id":22109725,"url":"https://github.com/hexsprite/meteor-mock-id","last_synced_at":"2026-04-27T12:31:28.573Z","repository":{"id":66497658,"uuid":"147960635","full_name":"hexsprite/meteor-mock-id","owner":"hexsprite","description":"This package patches Mongo.Collection on server side to generate consistent incremental IDs based on the name of the collection for testing purposes.","archived":false,"fork":false,"pushed_at":"2023-08-19T00:00:05.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T04:17:01.290Z","etag":null,"topics":["meteor","meteor-package","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexsprite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-08T18:46:31.000Z","updated_at":"2022-05-12T20:44:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1bad4b4-7cd7-48ca-8365-942ba823321b","html_url":"https://github.com/hexsprite/meteor-mock-id","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hexsprite/meteor-mock-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexsprite%2Fmeteor-mock-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexsprite%2Fmeteor-mock-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexsprite%2Fmeteor-mock-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexsprite%2Fmeteor-mock-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexsprite","download_url":"https://codeload.github.com/hexsprite/meteor-mock-id/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexsprite%2Fmeteor-mock-id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32337268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["meteor","meteor-package","testing"],"created_at":"2024-12-01T09:38:08.795Z","updated_at":"2026-04-27T12:31:28.553Z","avatar_url":"https://github.com/hexsprite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This package patches Mongo.Collection on server side to generate consistent\nincremental IDs based on the name of the collection.\n\nThe intention is to use this in automated tests for snapshotting collections\nof documents.\n\nAs such this is a `testOnly` package.\n\nThey look like:\n\n`actions2xxxxxxxxx`\nand\n`users2xxxxxxxxxxx`\n\nThe results are padded to 17 characters and exclude 0 and 1 since they are not\nconsidered \"valid\" Meteor mongo ID by SimpleSchema.\n\nThe counters are reset after each test is run. Tested with `meteortesting:mocha`.\n\n### INSTALLATION\n\nMake sure that you put `hexsprite:mock-mongo-id` at the top of the\n`.meteor/packages` file so that it can hook into things before any collections\nare defined.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexsprite%2Fmeteor-mock-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexsprite%2Fmeteor-mock-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexsprite%2Fmeteor-mock-id/lists"}