{"id":20181293,"url":"https://github.com/codepope/shellfaker","last_synced_at":"2026-05-10T13:03:59.621Z","repository":{"id":51062568,"uuid":"160181485","full_name":"codepope/shellfaker","owner":"codepope","description":"A MongoDB shell script and its port to Node.js as part of a blog","archived":false,"fork":false,"pushed_at":"2023-07-11T19:34:47.000Z","size":45,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T17:19:51.980Z","etag":null,"topics":["mongo-shell","mongodb","nodejs"],"latest_commit_sha":null,"homepage":null,"language":null,"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/codepope.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-12-03T11:36:45.000Z","updated_at":"2021-05-25T09:45:47.000Z","dependencies_parsed_at":"2024-11-14T02:35:01.239Z","dependency_job_id":null,"html_url":"https://github.com/codepope/shellfaker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fshellfaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fshellfaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fshellfaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fshellfaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepope","download_url":"https://codeload.github.com/codepope/shellfaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"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":["mongo-shell","mongodb","nodejs"],"created_at":"2024-11-14T02:34:56.846Z","updated_at":"2026-05-10T13:03:54.576Z","avatar_url":"https://github.com/codepope.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# shellfaker and nodefaker\n\nThese are examples which got with the blog posting \"Boosting JavaScript: From MongoDB's shell to Node.js\". Each example is a different iteration of the solution outlined in the article.\n\n* `shellfaker.js` is the starting point, a MongoDB mongo shell script with generates up fake names and inserts them into a collection.\n\n* `nodefaker.basic.js` is the first iteration, wrapping the shell script with sufficient Node.js calls so that it can run from the command line in a similar way.\n\n* `nodefaker.await.js` uses the `await` and `async` features to replicate the shell's timing behavior.\n\n* `nodefaker.promise.js` gets smarter about promises and boosts the scripts performance.\n\n* `nodefaker.bulk.js` skips the whole thing and goes for really fast bulk inserting as a counter example.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepope%2Fshellfaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepope%2Fshellfaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepope%2Fshellfaker/lists"}