Binary wrapper for yq
About • Prerequisites • Installation • Credits • License
yq is a lightweight and portable command-line YAML, JSON, and XML processor. It is written and maintained by Mike Farah. Inspired by hugo-bin, this package publishes yq as npm binary.
This package requires npm
. You are recommended to install Node.js, which includes npm
.
Run the following command to install yq-bin
as development dependency in your current project.
npm install @gethinode/yq-bin --save-dev
Use npx yq
to run the embedded yq
binary. When npx
is unavailable, you can run ./node_modules/.bin/yq
instead.
This package is derived from fenneclab/hugo-bin. The underlying code does not recognize computers with Apple Silicon properly. Instead, an Intel-based binary is used, which may affect performance.
This package is based on the following repository:
The yq-bin
codebase is released under the MIT license.