# skeletonToOptions (@salmonui/core/format)

> The skeletonToOptions function of @salmonui/core/format: Converts a CLDR skeleton (yMMMd, Hm, EEEE) into Intl.DateTimeFormat options.

Canonical: https://salmonui.dev/docs/reference/core/format/skeletonToOptions

```ts
import { skeletonToOptions } from '@salmonui/core/format';
```

Entry index: https://salmonui.dev/docs/reference/core/format (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/format.md).

## Reference

Kind: function

```ts
function skeletonToOptions(skeleton: string): Intl.DateTimeFormatOptions;
```

Converts a CLDR skeleton (`yMMMd`, `Hm`, `EEEE`) into `Intl.DateTimeFormat` options.
