source:
trip-planner-front/node_modules/strip-ansi/index.js@
bdd6491
Last change on this file since bdd6491 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.