[@asset-toolkit/core](README.md) / Exports

# @asset-toolkit/core

## Table of contents

### Variables

- [removeDir](modules.md#removedir)

### Functions

- [changeExtension](modules.md#changeextension)
- [checkFileExt](modules.md#checkfileext)
- [copyFiles](modules.md#copyfiles)
- [getUID](modules.md#getuid)
- [logger](modules.md#logger)
- [pipeline](modules.md#pipeline)
- [prepareOutputDir](modules.md#prepareoutputdir)
- [watchPipeline](modules.md#watchpipeline)

## Variables

### removeDir

• `Const` **removeDir**: `any`

#### Defined in

index.d.ts:1

## Functions

### changeExtension

▸ `Const` **changeExtension**(`file`, `extension`): `string`

#### Parameters

| Name | Type |
| :------ | :------ |
| `file` | `string` |
| `extension` | `string` |

#### Returns

`string`

#### Defined in

index.d.ts:22

___

### checkFileExt

▸ `Const` **checkFileExt**(`file`, `exts`): `boolean`

#### Parameters

| Name | Type |
| :------ | :------ |
| `file` | `string` |
| `exts` | `string`[] |

#### Returns

`boolean`

#### Defined in

index.d.ts:8

___

### copyFiles

▸ `Const` **copyFiles**(`pathIn`, `pathOut`, `exts?`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `pathIn` | `string` |
| `pathOut` | `string` |
| `exts?` | `string`[] |

#### Returns

`void`

#### Defined in

index.d.ts:9

___

### getUID

▸ `Const` **getUID**(`size`): `any`

#### Parameters

| Name | Type |
| :------ | :------ |
| `size` | `number` |

#### Returns

`any`

#### Defined in

index.d.ts:11

___

### logger

▸ `Const` **logger**(): `Object`

#### Returns

`Object`

| Name | Type |
| :------ | :------ |
| `error` | (`value`: `any`) => `any` |
| `info` | (`value`: `any`) => `any` |
| `start` | (`value`: `any`) => `any` |
| `success` | (`value`: `any`) => `any` |

#### Defined in

index.d.ts:2

___

### pipeline

▸ `Const` **pipeline**(...`fns`): (`props`: `any`, `options`: `any`[], `callback?`: `any`[]) => `any`

#### Parameters

| Name | Type |
| :------ | :------ |
| `...fns` | `any` |

#### Returns

`fn`

▸ (`props`, `options`, `callback?`): `any`

##### Parameters

| Name | Type |
| :------ | :------ |
| `props` | `any` |
| `options` | `any`[] |
| `callback?` | `any`[] |

##### Returns

`any`

#### Defined in

index.d.ts:12

___

### prepareOutputDir

▸ `Const` **prepareOutputDir**(`pathOut`, `exts`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `pathOut` | `string` |
| `exts` | `string`[] |

#### Returns

`void`

#### Defined in

index.d.ts:10

___

### watchPipeline

▸ `Const` **watchPipeline**(`pipeline`, `props`, `options?`, `callback?`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `pipeline` | `any` |
| `props` | `Object` |
| `props.pathIn` | `string` |
| `props.pathOut` | `string` |
| `options?` | `any`[] |
| `callback?` | `any`[] |

#### Returns

`void`

#### Defined in

index.d.ts:13
