# createRegistry (/docs/api/functions/createRegistry)



```ts
function createRegistry(extra?): PassRegistry;
```

Defined in: [packages/core/src/passes/index.ts:102](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/index.ts#L102)

A registry seeded with the built-in passes, ready for extra ones to be added.
A caller-supplied pass whose name matches a built-in replaces that built-in,
so the pipeline can be customized without `register()` throwing on the clash.
(`register()` itself stays strict; the dedupe happens here at the merge layer.)

## Parameters [#parameters]

### extra? [#extra]

[`Pass`](../interfaces/Pass.mdx)\[] = `[]`

## Returns [#returns]

[`PassRegistry`](../classes/PassRegistry.mdx)


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)