source: imaps-frontend/node_modules/strip-ansi/index.js@ 0c6b92a

main
Last change on this file since 0c6b92a was d565449, checked in by stefan toskovski <stefantoska84@…>, 3 months ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 154 bytes
RevLine 
[d565449]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.