Support only ESM or CJS #309
Replies: 5 comments 1 reply
-
To get this straight in my head, I think we're talking about our customised install / uninstall scripts needing to move across from CJS to ESM here, and not the applications themselves monitored by node-windows? We haven't had a chance to look at moving away from CJS ourselves across the board, but our node-windows scripts may be a relatively self contained place to start... |
Beta Was this translation helpful? Give feedback.
-
keep CJS support please |
Beta Was this translation helpful? Give feedback.
-
keep CJS support please |
Beta Was this translation helpful? Give feedback.
-
My 2p |
Beta Was this translation helpful? Give feedback.
-
I've decided to leave the library "as is" for now while I contemplate building an entirely new service management library. |
Beta Was this translation helpful? Give feedback.
-
The library is showing its age and could really use a significant refactor. There are a few options going forward, and I'd like to get user feedback before taking action.
This module is one of the only ones I maintain that still uses CommonJS (i.e.
require
). I would prefer to move entirely to ES modules, but I realize this may affect existing applications. I'd like to know how many people still need to support CommonJS.I'm considering separating this project into two variants: ESM (node-windows-esm) and CJS (node-windows). The CJS version would essentially be treated as a legacy edition, meaning I'd likely be seeking a maintainer once the initial work is done.
I'm seeking community feedback.
Thanks in advance,
Corey
Beta Was this translation helpful? Give feedback.
All reactions