Skip to content

Commit

Permalink
Formula-Cookbook: add std_npm_args
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Jul 26, 2024
1 parent 04621ba commit 552e24c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/Formula-Cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 552e24c

Please sign in to comment.