Sha256: 586d0220463526ec46abd9a458e4c946124f9df915b97817fc2f49cdf6cd5101

Contents?: true

Size: 220 Bytes

Versions: 83

Compression:

Stored size: 220 Bytes

Contents

'use strict';
const ansiRegex = require('ansi-regex');

const stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;

module.exports = stripAnsi;
module.exports.default = stripAnsi;

Version data entries

83 entries across 49 versions & 10 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/yargs/node_modules/strip-ansi/index.js
optimacms-0.1.61 spec/dummy/node_modules/cliui/node_modules/strip-ansi/index.js
disco_app-0.18.0 test/dummy/node_modules/webpack-cli/node_modules/strip-ansi/index.js
disco_app-0.18.2 test/dummy/node_modules/webpack-cli/node_modules/strip-ansi/index.js
trusty-cms-5.0.7 node_modules/table/node_modules/strip-ansi/index.js
trusty-cms-5.0.6 node_modules/table/node_modules/strip-ansi/index.js
trusty-cms-5.0.5 node_modules/table/node_modules/strip-ansi/index.js
trusty-cms-5.0.4 node_modules/table/node_modules/strip-ansi/index.js
disco_app-0.16.1 test/dummy/node_modules/string-width/node_modules/strip-ansi/index.js
disco_app-0.16.1 test/dummy/node_modules/wrap-ansi/node_modules/strip-ansi/index.js
disco_app-0.16.1 test/dummy/node_modules/cliui/node_modules/strip-ansi/index.js
disco_app-0.15.2 test/dummy/node_modules/string-width/node_modules/strip-ansi/index.js
disco_app-0.15.2 test/dummy/node_modules/cliui/node_modules/strip-ansi/index.js
disco_app-0.15.2 test/dummy/node_modules/wrap-ansi/node_modules/strip-ansi/index.js
trusty-cms-5.0.3 node_modules/table/node_modules/strip-ansi/index.js
trusty-cms-5.0.2 node_modules/table/node_modules/strip-ansi/index.js
disco_app-0.18.4 test/dummy/node_modules/wrap-ansi/node_modules/strip-ansi/index.js
disco_app-0.18.4 test/dummy/node_modules/cliui/node_modules/strip-ansi/index.js
disco_app-0.18.4 test/dummy/node_modules/string-width/node_modules/strip-ansi/index.js
disco_app-0.18.1 test/dummy/node_modules/wrap-ansi/node_modules/strip-ansi/index.js