-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Move platform.json in accessible place #2928
Comments
There can be multiple copies of the (internal, not part of the public API) The value in each |
I see that platform.json is for remove :) but this not solve an issue:
|
|
Added as Example output: { current: 'linux-x64', installed: [ 'linux-x64', 'win32-ia32' ] } This will be in v0.30.0. |
v0.30.0 now available with this feature. |
What are you trying to achieve?
I want programmatically to check sharp installed platform in node_modules. The only place that show this is platform.json
to check is it right sharp platform installed in node_modules its need to write function like this:
but this function is not robust (
8.11.3
folder ordarwin-arm64v8
will be changed in the next sharp versions). Can we have platform.json in better place? (like node_modules/sharp/platform.json)Have you searched for similar feature requests? YES
The text was updated successfully, but these errors were encountered: