source: trip-planner-front/node_modules/strip-ansi/index.js@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 154 bytes
RevLine 
[6a3a178]1'use strict';
2const ansiRegex = require('ansi-regex');
3
4module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
Note: See TracBrowser for help on using the repository browser.