{"id":20595548,"url":"https://github.com/thefrontside/node-binary-testbed","last_synced_at":"2025-08-22T11:06:30.154Z","repository":{"id":48823497,"uuid":"377522088","full_name":"thefrontside/node-binary-testbed","owner":"thefrontside","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-03T19:04:39.000Z","size":162,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T00:44:17.755Z","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/thefrontside.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":"2021-06-16T14:21:05.000Z","updated_at":"2021-07-07T22:16:41.000Z","dependencies_parsed_at":"2022-09-23T22:20:19.399Z","dependency_job_id":null,"html_url":"https://github.com/thefrontside/node-binary-testbed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fnode-binary-testbed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fnode-binary-testbed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fnode-binary-testbed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fnode-binary-testbed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thefrontside","download_url":"https://codeload.github.com/thefrontside/node-binary-testbed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242231434,"owners_count":20093634,"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-16T08:13:26.442Z","updated_at":"2025-03-06T15:15:25.288Z","avatar_url":"https://github.com/thefrontside.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-binary-testbed\n\nEach of these folders is an npm package that will build a binary from your nodejs code. The `file-interactor.js` is the small test script being built into a binary. It has three functions: `read`, `require` and `import`, the second arg of the CLI. These are to test binary interaction with the filesystem. The third arg is the file with which to interact.\n\n- Note that `require` is inherently CommonJs based, and is best used with the `test.cjs`.\n- Note that `import` is inherently ESM based, and is best with the `test.mjs`.\n\nIn each folder after creating the binary, try:\n\n```\n\u003e ./file-interactor import test.mjs\nesm boop!\n\n\u003e ./file-interactor require test.cjs\ncjs boop!\n\n\u003e ./file-interactor read test.mjs\n\u003cthis readme text\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Fnode-binary-testbed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthefrontside%2Fnode-binary-testbed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Fnode-binary-testbed/lists"}