0.1.0 • Published 10 years ago

strip-color v0.1.0

Weekly downloads
235,639
License
MIT
Repository
github
Last release
10 years ago

strip-color NPM version

Strip ansi characters from a string.

Install

Install with npm

$ npm i strip-color --save

Usage

var strip = require('strip-color');
var red = require('ansi-red');
var str = red('abc');

console.log(strip(str));
//=> 'abc';

Related projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on October 18, 2015.

remarkable-bejo@infinitebrahmanuniverse/nolb-strip@everything-registry/sub-chunk-2837talkpilestorybook-chromastorybook-chromaticthunderballvercel-node-devjest-dashboardjabin-markdown-toc-unlazyhome-assistant-matter-hubhomebridge-controllerlinkhttp-grabberhelper-coveragehelper-slugifyinquirer2markdown-slugmarkdown-toc-reduxmarkdown-toc-sefmarkdown-toc-unlazymarkdown-tocmarkdown-toc-cleanedmarkdown-elfmartindoylemd-to-toc@valuis0429/zenstack@xinix/cicd@vincentpeyrouse/home-assistant-matter-hub@zkochan/pnpm-bundledarma-twilospacecraft-loggertwilio-video-app-react-gaompytwilio-video-app-tsystd_serveryyabuilderzenstackzoyaupdateverbalize@newsteam/legacy-cli-loggerprompt-choicesprompt-gridremarkable-numlsehatcloudreact-native-version-handlerreact-native-version-handler-2sf-demo-utilssfdx-dmg-pluginpnpm-glitchpnpm-vjprreadline-utilspterodactyl.tsrg-commanderrmansfdx-xy-pluginshane-sfdx-pluginssigh-avashrunskerrickgitpartygithub-workflow-manager@orangebeard-io/wdio-orangebeard-reporter@hspkg/markdown-toc@fontoxml/fontoxml-development-tools@frat/markdown-toc@fixhq/markdown-toc@pnpm/bundledgenerate@substrate-system/markdown-toc@sweetlikepete/logger@talkncloud/tnc-cup@talkncloud/tcup@tamland/loggerequa11yflaps-loggerflowscriptflow-type@11ty/eleventy-plugin-directory-output@catalyst-elements/build-process@bicycle-codes/markdown-tocchoices-separatorchromatic-clicommander-cli-startercommon-configclowdr-video-frontenddescribe-reactbdxbreakdance-utilbiu@andrew.trautmann/sfdx-deploy-tools@aux4/test@dbux/code@darkobits/lolcatjs@csabapalfi/markdown-toc@mshanemc/plugin-helpers@clief/plugin-colorless@rexysaur/zen@johanblumenberg/mocha@recursiveforte/sprig-flux@dral/replit-notebook-extension-engine
0.1.0

10 years ago