# plugFromStandard

Canonical: https://docs.shumoku.dev/ja/library/api/plugFromStandard
Language: ja

@shumoku/core · 0.4.0 · function

# plugFromStandard

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/models/port-compatibility.ts#L125)

APIの説明は英語のcanonical sourceを表示しています。

Build a plug from a chosen module standard. The plug carries only the \`module\` — \`cage\` is intentionally omitted because it's derivable from \`module.standard\` via \`STANDARD\_SPECS\[std\].cage\`. Returns \`undefined\` if the standard is unknown.

```
plugFromStandard(standard: EthernetStandard, sku?: string): LinkPlug | undefined
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `standard` | `EthernetStandard` | 追加説明はありません。 | `—` |
| `sku` | `string` | 追加説明はありません。 | `—` |

## 戻り値

```
LinkPlug | undefined
```

[`libs/@shumoku/core/src/models/port-compatibility.ts:125`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/models/port-compatibility.ts#L125)
