Skip to content
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

Making available on NPM? #104

Closed
agilgur5 opened this issue Sep 30, 2023 · 2 comments
Closed

Making available on NPM? #104

agilgur5 opened this issue Sep 30, 2023 · 2 comments

Comments

@agilgur5
Copy link

agilgur5 commented Sep 30, 2023

Since this replaces and is inspired by maidfile, it would be great if the binaries were available on NPM for ease of installation in JS projects.

swc is an example of a Rust project with binaries available on NPM.

Could also be made available as WASM on NPM too

@jacobdeichert
Copy link
Owner

Although I do understand this would be more convenient in node-only environments, at this point in time I don't feel like maintaining an npm package for mask. It adds a lot of complexity to the release process and it requires precompiling binaries for many targets in order to download them post-install, as far as I know.

@jacobdeichert jacobdeichert added wontfix This will not be worked on and removed wontfix This will not be worked on labels Oct 5, 2023
@agilgur5
Copy link
Author

agilgur5 commented Oct 5, 2023

it requires precompiling binaries for many targets in order to download them post-install, as far as I know.

More or less, yes. evanw/esbuild#1621 is a good reference.
But the current release process already precompiles binaries for GH releases and Brew, no?

The simpler alternative that I mentioned is a WASM build, which is a single binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants