# parseSnippetName

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/snippets/expand-includes.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/snippets/expand-includes.ts#L54)

Parse the snippet name out of the directive's attribute text.

## Signature

```ts
function parseSnippetName(attrText: string): string | null
```

## Parameters

| Name | Type |
|---|---|
| `attrText` | `string` |

**Returns:** `string | null`
