---
title: stripAnsi
---

# stripAnsi

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/terminal/src/lib/ansi.ts#L202" target="_blank">View Source</a>

## Summary

Removes ANSI escape sequences from a string.

## Signature

```ts
function stripAnsi(value: string): string;

```

## Params

### value

The string to strip

## Returns

The string without ANSI escape sequences