forked from RecuencoJones/go-npm
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I'm trying to re-purpose this library to do something slightly different – to be able to add any arbitrary Go binary to my Node.js project, so I can run it as part of my scripts.
Example –
I'm trying to use the very popular https://github.com/zricethezav/gitleaks project in my Node.js project. Because gitleaks does not have an npm package, I'm trying to use go-npm to simply download the binary for me as part of the install step, so I can then run it with a simple package.json script.
The problem here is, I'm running an M1 MacBook, and it's architecture is arm64. However, the gitleaks project has not published an arm64 build (yet).
What would be the best solution here?
Metadata
Metadata
Assignees
Labels
No labels