Files
logs
node_modules
.bin
ansi-regex
ansi-styles
array-find-index
async
buffers
builtin-modules
camelcase
camelcase-keys
chalk
combined-stream
component-emitter
console-stamp
cookiejar
core-util-is
currently-unhandled
date-format
dateformat
debug
decamelize
delayed-stream
discordie
double-ended-queue
ebml
error-ex
escape-string-regexp
extend
find-up
form-data
formidable
get-stdin
graceful-fs
has-ansi
hosted-git-info
indent-string
inherits
is-arrayish
is-builtin-module
is-finite
is-utf8
isarray
load-json-file
log4js
loud-rejection
map-obj
meow
merge
methods
mime
mime-db
mime-types
minimist
mkdirp
moment
moment-timezone
ms
normalize-package-data
number-is-nan
object-assign
options
pako
parse-json
path-exists
path-type
pify
pinkie
pinkie-promise
qs
read-pkg
read-pkg-up
readable-stream
redent
reduce-component
repeating
requireindex
semver
signal-exit
spdx-correct
spdx-expression-parse
spdx-license-ids
streamroller
string_decoder
strip-ansi
index.js
license
package.json
readme.md
strip-bom
strip-indent
superagent
supports-color
trim-newlines
tweetnacl
ultron
validate-npm-package-license
ws
LICENSE
README.md
bot.js
config.json
config.json.example
package.json
2017-03-23 23:52:08 -05:00
..
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05:00

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install --save strip-ansi

Usage

var stripAnsi = require('strip-ansi');

stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'
  • strip-ansi-cli - CLI for this module
  • has-ansi - Check if a string has ANSI escape codes
  • ansi-regex - Regular expression for matching ANSI escape codes
  • chalk - Terminal string styling done right

License

MIT © Sindre Sorhus