{"id":20602362,"url":"https://github.com/zation/chai-like-mongoose","last_synced_at":"2025-07-14T19:37:10.742Z","repository":{"id":33201269,"uuid":"36843805","full_name":"zation/chai-like-mongoose","owner":"zation","description":"The mongoose plugin for chai-like","archived":false,"fork":false,"pushed_at":"2018-09-14T07:02:07.000Z","size":136,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T10:03:37.882Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zation.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}},"created_at":"2015-06-04T02:42:58.000Z","updated_at":"2015-06-04T07:20:53.000Z","dependencies_parsed_at":"2022-08-17T20:55:38.042Z","dependency_job_id":null,"html_url":"https://github.com/zation/chai-like-mongoose","commit_stats":null,"previous_names":["zation/chai-like-mongo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zation%2Fchai-like-mongoose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zation%2Fchai-like-mongoose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zation%2Fchai-like-mongoose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zation%2Fchai-like-mongoose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zation","download_url":"https://codeload.github.com/zation/chai-like-mongoose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242244666,"owners_count":20095958,"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-16T09:13:39.756Z","updated_at":"2025-03-06T16:28:32.182Z","avatar_url":"https://github.com/zation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chai-like-mongo\nThe mongoose plugin for chai-like used to compare object id.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/package/chai-like-mongoose)\n\n```bash\nnpm install --save-dev chai-like-mongoose\n```\n\n## Usage\n\n```js\nvar chai = require('chai');\nvar like = require('chai-like');\n\nlike.extend(require('chai-like-mongoose'));\nchai.use(like);\n```\n\n## Assertions\n\nCompare two object id.\n\n```js\nvar mongoose = require('mongoose');\nvar objectId = mongoose.Types.ObjectId('123456789012345678901234');\n\nobjectId.should.like('123456789012345678901234');\nobjectId.should.not.like('123456789012345678901235');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzation%2Fchai-like-mongoose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzation%2Fchai-like-mongoose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzation%2Fchai-like-mongoose/lists"}