{"id":42775345,"url":"https://github.com/dnunes/multicom","last_synced_at":"2026-01-29T22:06:33.848Z","repository":{"id":57305187,"uuid":"89124673","full_name":"dnunes/multicom","owner":"dnunes","description":"Your own swarm of intercommunicating processes!","archived":false,"fork":false,"pushed_at":"2017-05-12T16:15:22.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T08:47:22.752Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnunes.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}},"created_at":"2017-04-23T07:25:45.000Z","updated_at":"2017-04-23T07:27:48.000Z","dependencies_parsed_at":"2022-09-17T03:24:12.959Z","dependency_job_id":null,"html_url":"https://github.com/dnunes/multicom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnunes/multicom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnunes%2Fmulticom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnunes%2Fmulticom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnunes%2Fmulticom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnunes%2Fmulticom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnunes","download_url":"https://codeload.github.com/dnunes/multicom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnunes%2Fmulticom/sbom","scorecard":{"id":348854,"data":{"date":"2025-08-11","repo":{"name":"github.com/dnunes/multicom","commit":"1ae9e949ac9a8fe8c32ef326e811118f1c5ae1df"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T07:48:52.101Z","repository_id":57305187,"created_at":"2025-08-18T07:48:52.101Z","updated_at":"2025-08-18T07:48:52.101Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28886909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2026-01-29T22:06:33.165Z","updated_at":"2026-01-29T22:06:33.840Z","avatar_url":"https://github.com/dnunes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"multicom\n========\n### Your own swarm of intercommunicating processes!\n\nEver had a big project full of independent modules that you wish you could run and update separately but still communicate between them with great ease and blazingly fast? Well, me too.\n\n**Multicom** is a fully-tested no-nonsense package to make sure your design decisions are based on project needs, not yours. It will keep your modules stable and easily testable while still providing seamless internal communication.\n\n**Multicom** was designed with no compromise on features:\n\n* **Blazingly fast**: it communicates using the dnode library ...;\n\n* **No extra configuration needed**: this package follows the idea of _convention over configuration_, so it keeps the required environment files to a minimum and there is nothing to thinker with before start using it;\n* **Never out of sync**: when loading the environment configuration file, it checks the schema for *missing AND for extra keys*, alerting you when you are missing some key in your config or in your schema file;\n* **Auto load the right config file**: you can set the root path of the project in the environment config file and it will load automatically.\n\n\n## \u003ca id=\"installation\"\u003eInstallation\u003c/a\u003e\nThe simplest way to install this package is using [npm](http://www.npmjs.com/):\n```bash\n$ npm i -S multicom\n```\n\nYou can also manually download the [latest release](https://github.com/dnunes/multicom/zipball/master) from [our project page](http://dnunes.com/multicom/) or any release from [our GitHub repository](https://github.com/dnunes/multicom/) on the [releases page](https://github.com/dnunes/multicom/releases/).\n\n\n## \u003ca id=\"quickstart\"\u003eQuick Start Guide\u003c/a\u003e\n\nThere are just four steps needed to start using this package:\n\n1. Create a folder named `envs` on your project's root;\n2. Create a [`config.schema`](#sampleschema) file with your schema;\n3. Create a [`ENVNAME.json`](#sampleenv) file for each environment with its specific configuration (where `ENVNAME` is whatever name you wish to use);\n4. Load the package. It is ready to read your config.\n\nIn your code:\n\n```javascript\nconst AutoEnvConfig = require('autoenvconfig');\n\nlet isValuePresent = AutoEnvConfig.has('deep.key.supported'));\nif (isValuePresent) {\n  let valueFromConfig = AutoEnvConfig.get('deep.key.supported'));\n  console.log(valueFromConfig); //\"myValue\"\n}\n```\n\n\n## \u003ca id=\"methods\"\u003eMethods\u003c/a\u003e\n\nAll the methods can be called in a specific instance (from a `AutoEnvConfig.load` call) or in the [_magic instance_](#magicload). You can save a reference for the [_magic instance_](#magicload) using a `AutoEnvConfig.load()` call and call methods on this instance as well and it will work exactly the same as calling the methods directly on the package.\n\n### \u003ca id=\"magicmethods\"\u003eMagic Methods\u003c/a\u003e\n\n- \u003ca id=\"mautoload\"\u003e`AutoEnvConfig.load([\u003cenvName\u003e])`\u003c/a\u003e\nThis method will return a new instance of `AutoEnvConfig` class (actually, prototype). If you ommit the `\u003cenvName\u003e` parameter, it will try to [_magic load_](#magicload) it. If you pass the `\u003cenvName\u003e` parameter, it will just return the config for the specified env. It returns false if it cannot find an environment config.\n\n- \u003ca id=\"mautoget\"\u003e`AutoEnvConfig.get(\u003ckey\u003e[, \u003cdefaultValueIfNotPresent\u003e])`\u003c/a\u003e\nThis method will return the value of `\u003ckey\u003e` in the [_magic instance_](#magicload). If `key` is not present in the [_magic instance_](#magicload), it will either return `\u003cdefaultValueIfNotPresent\u003e` or throw an error if there the default value parameter was committed.\n\n- \u003ca id=\"mautohas\"\u003e`AutoEnvConfig.has(\u003ckey\u003e)`\u003c/a\u003e\nThis method will return boolean `true` if the `\u003ckey\u003e` is present in the [_magic instance_](#magicload) or boolean `false` if not.\n\n- \u003ca id=\"mautoset\"\u003e`AutoEnvConfig.set(\u003ckey\u003e, \u003cvalue\u003e)`\u003c/a\u003e\nThis method will replace the contents of `\u003ckey\u003e` for the [_magic instance_](#magicload) with `\u003cvalue\u003e`;\n\n\n### \u003ca id=\"instancemethods\"\u003eInstance Methods\u003c/a\u003e\n\n- \u003ca id=\"minsload\"\u003e`\u003cInstance\u003e.load([\u003cenvName\u003e])`\u003c/a\u003e\nThis method will return a new instance of `AutoEnvConfig` class (actually, prototype). If you ommit the `\u003cenvName\u003e` parameter, it will try to [_magic load_](#magicload) it. If you pass the `\u003cenvName\u003e` parameter, it will just return the config for the specified env. It returns false if it cannot find an environment config.\n\n- \u003ca id=\"minsget\"\u003e`\u003cInstance\u003e.get(\u003ckey\u003e[, \u003cdefaultValueIfNotPresent\u003e])`\u003c/a\u003e\nThis method will return the value of `\u003ckey\u003e` in the `\u003cInstance\u003e` object. If `\u003ckey\u003e` is not present in the `\u003cInstance\u003e` object, it will either return `\u003cdefaultValueIfNotPresent\u003e` or throw an error if there the default value parameter was committed.\n\n-  \u003ca id=\"minshas\"\u003e`\u003cInstance\u003e.has(\u003ckey\u003e)`\u003c/a\u003e\nThis method will return boolean `true` if the `\u003ckey\u003e` is present in the `\u003cInstance\u003e` object or boolean `false` if not.\n\n- \u003ca id=\"minsset\"\u003e`\u003cInstance\u003e.set(\u003ckey\u003e, \u003cvalue\u003e)`\u003c/a\u003e\nThis method will replace the  contents of `\u003ckey\u003e` for the `\u003cInstance\u003e` object with `\u003cvalue\u003e`;\n\n\n## \u003ca id=\"releaseh\"\u003eRelease History\u003c/a\u003e\n\n* [0.0.1](https://github.com/dnunes/autoenvconfig/releases/tag/v0.0.1) Initial release.\n\n\n## \u003ca id=\"credits\"\u003eCredits\u003c/a\u003e\n\nCreated and maintained (with much ♡) by [diego nunes](http://dnunes.com)\n\nDonations with Bitcoin to _1PQyeHqusUj3SuTmw6DPqWSHptVHkYZ33R_:\n\n![1PQyeHqusUj3SuTmw6DPqWSHptVHkYZ33R](http://chart.apis.google.com/chart?cht=qr\u0026chs=200x200\u0026chl=bitcoin:1PQyeHqusUj3SuTmw6DPqWSHptVHkYZ33R)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnunes%2Fmulticom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnunes%2Fmulticom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnunes%2Fmulticom/lists"}