-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add to a npm #5
Comments
Yes, I absolutely want this but just wasn't sure how to package it. The binary is just straight .NET so works on Windows and Mono. Just need to write the right scripts for npm. Where do we start? |
Implemented some methods for Enumerable class in mscorlib
Yes, please! Also, I'm now curious... would it be theoretically possible to use netjs to convert itself to a cross-platform node.js project? 🤔 |
Wow, hadn't even looked at this in very long... would effectively need a package.json, and the runtime program in a directory... from there, would likely want a cmd.js that is a binary in the package.json that could act as an intermediary for the application executable... check to see if an appropriate runtime is available, then pass the commands to the application, or respond with a message stating that .Net, .Net Core and/or Mono need to be installed on the system to run the module. From there, an index.js as a module default would be nice to expose a similar check, to take input file(s) then output via the executable, returning the raw results and/or parsed result object from the .Net app. |
It would be cool to see this added to npm ... could start with just the windows binaries as part of a package.json, then extend that to include a build process for unix/mono targets.
Since this project already depends on typescript/npm, it would be a decent fit. Would be willing to help with this.
The text was updated successfully, but these errors were encountered: