diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 9585cd2a0c3ef..21fa362e7b140 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -514,6 +514,16 @@ The `std_*_args` methods, as well as the arguments they pass, are: "--wrap-mode=nofallback" ``` +#### `std_npm_args` + +```ruby +"require 'language/node'" + +"return Language::Node.std_npm_install_args(Pathname(prefix)) if prefix" + +"Language::Node.local_npm_install_args" +``` + #### `std_pip_args` ```ruby