You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Our cli should be refactored to use ES modules instead of CommonJS. Since our minimum supported node.js version is now 14 we can finally do this because ES modules are only officially supported in node.js 14 and up. Some dependencies like axios (see codeoverflow-org/nodecg-io-cli#307) require ES modules in order to be able to use the newest version.
nodecg-io will remain CommonJS for now because NodeCG 1.9.0 is required to be able to use ES modules in NodeCG which is not widely used yet. For the rest of nodecg-io converting to ES modules might make sense when NodeCG v2 is released and we support it.