{"id":15743288,"url":"https://github.com/thatkookooguy/monkey-js","last_synced_at":"2026-05-17T17:01:51.849Z","repository":{"id":94697155,"uuid":"80529446","full_name":"thatkookooguy/monkey-js","owner":"thatkookooguy","description":"monkey.js is a monk.js mock library for testing. Saves data to a local file to check results against","archived":false,"fork":false,"pushed_at":"2017-02-02T20:51:33.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T15:04:40.319Z","etag":null,"topics":["mock","mongodb","testing"],"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/thatkookooguy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-31T14:48:41.000Z","updated_at":"2018-08-20T16:03:37.000Z","dependencies_parsed_at":"2023-04-05T11:03:53.180Z","dependency_job_id":null,"html_url":"https://github.com/thatkookooguy/monkey-js","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":0.09999999999999998,"last_synced_commit":"c3cdb737a9cd53d830837c160cefded287709f1d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thatkookooguy/monkey-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatkookooguy%2Fmonkey-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatkookooguy%2Fmonkey-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatkookooguy%2Fmonkey-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatkookooguy%2Fmonkey-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thatkookooguy","download_url":"https://codeload.github.com/thatkookooguy/monkey-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatkookooguy%2Fmonkey-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["mock","mongodb","testing"],"created_at":"2024-10-04T03:02:30.445Z","updated_at":"2026-05-17T17:01:51.815Z","avatar_url":"https://github.com/thatkookooguy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monkey.js 🐵 🍌 [![Supported achievements](http://achievibit.herokuapp.com/achievementsShield)](https://achievibit.herokuapp.com) [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n\n`monkey.js` is a [`monk.js`](https://github.com/Automattic/monk) mock library for testing. Saves data to a local file to check results against.\n\nThis repo is still in early development. I'm writing this based on my needs.\nIf anyone have a request or want to report a bug, you can do so [here](https://github.com/Thatkookooguy/monkey-js/issues/new)\n\nCurrently, the following functionality works:\n\n- database is saved in a `testDB.json`, no matter which url you give `monkey.js`\n- all functions are currently only synchronous. Simulating async use is planned soon\n- Implemented so far:\n  - `var monk = require('monk');` :banana: `var monkey = require('monkey-js')`\n  - `var db = monk(url);` :banana: `var db = monkey(url);`\n  - `monk.get` :banana: `monkey.get`\n  - `monk.create` :banana: `monkey.create`\n  - `monk.close` :banana: `monkey.close`\n  - `monk.create` :banana: `monkey.create`\n  - `db.index`\n  - `db.insert`\n  - `db.find`\n  - `db.update`\n  \n    \u003e Supports `$addToSet` and `$each` usages\n\n## License\n\n[MIT License](LICENSE)\n\nCopyright (c) 2017 Neil Kalman \u0026lt;neilkalman@gmail.com\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatkookooguy%2Fmonkey-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatkookooguy%2Fmonkey-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatkookooguy%2Fmonkey-js/lists"}