Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 220B

1234567
  1. 'use strict';
  2. const ansiRegex = require('ansi-regex');
  3. const stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
  4. module.exports = stripAnsi;
  5. module.exports.default = stripAnsi;