uhop / install-artifact-from-github

No-dependency micro helper for developers of binary addons for Node that checks the cache for an artifact before attempting to build a project. Save time for your users!
Other
6 stars 3 forks source link

Ability to specify platform #2

Closed reepush closed 2 years ago

reepush commented 3 years ago

With this change it's possible to install re2 package for specific platform (e.g. npm install re2 --platform=linux). I had a problem with deployment to AWS Lambda as it uses linux platform while macOS is darwin. Sharp has this configuration too.