source:
trip-planner-front/node_modules/strip-ansi/index.js@
eed0bf8
Last change on this file since eed0bf8 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 154 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.