---
url: /api/cli-core/types/services/service-add-suffix.md
description: api documentation of addSuffix from @tsed/cli-core
---

## Usage

```typescript
import { addSuffix } from "@tsed/cli-core";
```

> See [/packages/cli-core/src/services/NpmRegistryClient.ts](https://github.com/tsedio/tsed-cli/blob/v7.8.1/packages/cli-core/src/services/NpmRegistryClient.ts#L0-L0).

## Overview

```ts
function addSuffix(pattern: string, suffix: string): string;
```
