-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
support any semver value for install or use #192
Comments
I am going to assume that you would want n to install the latest of the wildcard version similar to the way npm installs from package.json? If so, I would like to give this a shot. |
+1. This is exactly what I had in mind. Happy to help if needed. |
Thoughts on how this might be used in practice, especially on the context of package.json:
Note: I know of no way of making npm use a specific version of node apart from putting that node at the front of the path. That one can do, with PATH="$(dirname "$(bin 5.0.0)"):$PATH" npm install. We might make this easy:
or, shorter but less general:
Here are implementations to play with:
|
Note: The sketch implementation uses the node modules Note: Installing a new version with |
This issue has not had any activity in over six months. It isn't likely to get acted on due to this report. Feel free to open a new issue if it comes up again, with new information and renewed interest. Thank you for your contributions. |
Being able to, for example, use
n
to support automatic compatibility with anyengines.node
version in a package.json would be amazing. e.g.Would be more convincing for programmatic-type usage, i.e. with n-api or similar:
The text was updated successfully, but these errors were encountered: