source:
trip-planner-front/node_modules/strip-ansi/index.js@
76712b2
Last change on this file since 76712b2 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 154 bytes |
Line | |
---|---|
1 | 'use strict'; |
2 | const ansiRegex = require('ansi-regex'); |
3 | |
4 | module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string; |
Note:
See TracBrowser
for help on using the repository browser.