All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.strip-ansi.index.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
'use strict';
var ansiRegex = require('ansi-regex')();

module.exports = function (str) {
	return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy