7.1.0 • Published 10 months ago

strip-ansi v7.1.0

Weekly downloads
78,275,956
License
MIT
Repository
github
Last release
10 months ago

strip-ansi

Strip ANSI escape codes from a string

Install

$ npm install strip-ansi

Usage

import stripAnsi from 'strip-ansi';

stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'

stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
//=> 'Click'

strip-ansi for enterprise

Available as part of the Tidelift Subscription.

The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Related

Maintainers

wrap-ansicliuiinquirereslinttablegaugestring-length@jest/reporters@jest/coreenquirerlog-updateorarenderkidreact-dev-utilslistr-update-rendererwebpack-hot-middlewarejest-watch-typeaheadstylelintjest-junit@vue/cli-shared-utils@next/react-dev-overlaycolumnifycli-ux@oclif/errorsyoyuo-scriptsfork-appcenter-clicuc-gaf@bsolution/bsolution-dev-utils@prisma/get-platform@prisma/internals@prisma/migrate@prisma/sdk@prisma/engine-core@prisma/debug@huyhpham/rn-line@uukit/react-dev-kit@uukit/scripts@procore/core-scripts@falloutstudios/rmm@serverless/components@imohuan-dev/log@imohuan/electron-managementastro-no-undiciarchetype-library@gooddata/plugin-toolkit@gooddata/catalog-export@dbml-aml/clicomponennentt@teambit/react@atomist/sdm@atomist/automation-client@atomist/sdm-local@atomist/skilleasy-select-rnvuedragdropuploadimagesplugin-ts-type-parsertemp-rabaz-loggerwebpack5-hot-clientreact-native-bluetooth2killi8n-react-native-fast-imagerabaz-loggerpipihomereact-stream-renderer@lucat1/linariajest-html-reporter-chunghee-versionjest-html-reporter-projest-html-reporter-xlazy-modules-testaerolito-nextcss-module-typescript-definition-creator-pluginrn-send-smsadgile-devspecify-importsbabel-specify-importscad-cli@icanpm/api-masterdep-costoc-template-fiba-react-compilernode-nginx-confgew-nodejs-api-clientyeoman-uieslint-4-fixpm2-aloha-log@atome/cli@arisageha/react-lazyload@arisageha/react-lazyload-fix@oneplanetcrowd/developersfoshata-markdownrdclr-boilerplate@cashremit/cr-streamline-icons@omake/react-scriptsrn-device-information@almeidaa/mscustom-react-scripts-with-modules@mohitsingh/react-scriptspanda-scaffoldlogdna-workers@mygooder/react-dev-utilswebpack-dev-server-http2piral-compass-base
7.1.0

10 months ago

6.0.1

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

6.0.0

4 years ago

5.2.0

5 years ago

5.1.0

5 years ago

5.0.0

5 years ago

4.0.0

7 years ago

3.0.1

8 years ago

3.0.0

9 years ago

2.0.1

9 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago