# `NPM.Node.BinResolver`
[🔗](https://github.com/elixir-volt/npm_ex/blob/v0.7.4/lib/npm/node/bin_resolver.ex#L1)

Resolve executable binaries from `node_modules/.bin/`.

Provides lookup and listing of available npm binaries,
matching the behavior of `npx` and `npm exec`.

# `available?`

```elixir
@spec available?(String.t(), String.t()) :: boolean()
```

Check if a binary command is available.

# `find`

```elixir
@spec find(String.t(), String.t()) :: {:ok, String.t()} | :error
```

Find the path to a specific binary command.

Returns `{:ok, path}` if found, `:error` if not.

# `list`

```elixir
@spec list(String.t()) :: [{String.t(), String.t()}]
```

List all available binaries in `node_modules/.bin/`.

Returns a sorted list of `{command_name, target_path}` tuples.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
