remove-chalk

v1.0.1arrow_drop_down
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
134
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
500 B
remove chalk characters from a string.
1 contributor
Install remove-chalk as a package?
Copied
npm i @bit/bit.utils.remove-chalk
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
removeChalkCharacters (
str:*
) : string

remove chalk characters from a string.

Example
```js
 removeChalkCharacters('\u001b[37mbit.envs/bundlers/vue\u001b[39m') // => bit.envs/bundlers/vue
```
Argument
str: *

string to remove the chalk characters from

Returns
string

Help and resources