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

Distribution via NPM #737

Open
jerrygreen opened this issue Mar 23, 2024 · 3 comments
Open

Distribution via NPM #737

jerrygreen opened this issue Mar 23, 2024 · 3 comments

Comments

@jerrygreen
Copy link

jerrygreen commented Mar 23, 2024

I’d like to see hyperfine distributed via NPM:

https://www.npmjs.com/hyperfine

Probably compile to WebAssembly? To make it possible? I’m not sure how the guy there made it.

Btw, it is possible to write to npm for asking to taking slug url like this, they often give away the names to their respective authors.

UPD. Actually I see how he made it. It seems, the package simply downloads the latest binaries. It doesn’t take VERSION into consideration. It’s too bad. But maybe it’s possible to adjust his script, and pair version on npm to hyperfine – instead of doing WebAssembly. This way, I can lock both: the version of a tool I’m making, with the bench tool itself. That’d be good.

@sharkdp
Copy link
Owner

sharkdp commented Apr 7, 2024

I’d like to see hyperfine distributed via NPM:

Can I ask why?

@jerrygreen
Copy link
Author

Because it's convenient way to install anything
Because npm community makes A LOT of cli tools
Because hyperfine benchmarks cli-tools

I just was searching for such a tool to test my cli-tool, and I searched all bench utils on npm.
It's not something blocking me to use hyperfine of course, since I already somehow got here.
But it might be good way to gain some more other users.

@dalisoft
Copy link

dalisoft commented May 7, 2024

@jerrygreen Maybe this package can help you? Because i'm used it on my projects for using as npm package

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

3 participants